llvm-project/clang/test/Index/index-anonymous-union-field...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
194 B
C++
Raw Normal View History

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