[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Index / using_if_exists.cpp
blobed13dad9b1f749e5f71af2c0dd94f9822995c03e
1 // RUN: c-index-test core -print-source-symbols -- %s -target x86_64-unknown-unknown 2>&1 | FileCheck %s
3 namespace ns {
4 // void foo();
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>