YouCompleteMe/cpp/llvm/tools/clang/test/Index/index-invalid-code.m

9 lines
208 B
Mathematica
Raw Normal View History

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 |