mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 20:15:49 -04:00

Summary: The kind has been 'unknown' before, now it is 'field'. Reviewers: kadircet Reviewed By: kadircet Subscribers: jkorous, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62573 llvm-svn: 361941
11 lines
194 B
C++
11 lines
194 B
C++
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
|