llvm-for-llvmta/tools/clang/test/Index/index-anonymous-union-field...

11 lines
194 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
struct X {
union {
void *a;
};
};
// RUN: c-index-test -index-file %s > %t
// RUN: FileCheck %s -input-file=%t
// CHECK: [indexDeclaration]: kind: field | name: a | {{.*}} | loc: 3:11