clang/test/Index/using_if_exists.cpp
raw| 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> |