xref: /aosp_15_r20/external/clang/test/Index/index-invalid-code.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1struct S {
2  int {
3};
4typedef struct S S;
5
6// RUN: c-index-test -index-file %s | FileCheck %s
7// CHECK: [indexDeclaration]: kind: struct | name: S |
8// CHECK-NOT: [indexDeclaration]: kind: struct | name: S |
9