[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Index / index-anonymous-union-fields.cpp
blob30f254d11095671ce4f0a2d14c11aaf9d90690ff
1 struct X {
2 union {
3 void *a;
4 };
5 };
7 // RUN: c-index-test -index-file %s > %t
8 // RUN: FileCheck %s -input-file=%t
10 // CHECK: [indexDeclaration]: kind: field | name: a | {{.*}} | loc: 3:11