summaryrefslogtreecommitdiff
path: root/clang/test/Index/index-invalid-code.m
blob: 90845330b1963d5fcb4fb7c34c8c9a39ef9983d2 (about) (plain)
1
2
3
4
5
6
7
8
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 |