llvm-for-llvmta/tools/clang/test/Index/index-invalid-code.m

9 lines
208 B
Mathematica
Raw Normal View History

2022-04-25 13:02:35 +02:00
struct S {
int {
};
typedef struct S S;
// RUN: c-index-test -index-file %s | FileCheck %s
// CHECK: [indexDeclaration]: kind: struct | name: S |
// CHECK-NOT: [indexDeclaration]: kind: struct | name: S |