xref: /llvm-project/clang/test/Index/using_if_exists.cpp (revision 02aa6956b5b6c92f3d4aea0aa466ed0d33343335)
1 // RUN: c-index-test core -print-source-symbols -- %s -target x86_64-unknown-unknown 2>&1 | FileCheck %s
2 
3 namespace ns {
4 //  void foo();
5 }
6 
7 using ns::foo __attribute__((using_if_exists));
8 // CHECK: [[@LINE-1]]:11 | using/C++ | foo | c:@UD@foo | <no-cgname> | Decl | rel: 0
9 // CHECK-NOT: <unknown>
10