llvm-project/clang/test/Index/using_if_exists.cpp
Jake Egan 02aa6956b5
[clang][AIX] Only export libclang.map symbols from libclang (#78748)
This will prevent unnecessary symbols being exported in libclang, which
could cause issues with non-unique objects.
2024-01-22 14:53:35 -05:00

10 lines
297 B
C++

// RUN: c-index-test core -print-source-symbols -- %s -target x86_64-unknown-unknown 2>&1 | FileCheck %s
namespace ns {
// void foo();
}
using ns::foo __attribute__((using_if_exists));
// CHECK: [[@LINE-1]]:11 | using/C++ | foo | c:@UD@foo | <no-cgname> | Decl | rel: 0
// CHECK-NOT: <unknown>