xref: /minix3/external/bsd/llvm/dist/clang/test/Index/index-invalid-code.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambucstruct S {
2*f4a2713aSLionel Sambuc  int {
3*f4a2713aSLionel Sambuc};
4*f4a2713aSLionel Sambuctypedef struct S S;
5*f4a2713aSLionel Sambuc
6*f4a2713aSLionel Sambuc// RUN: c-index-test -index-file %s | FileCheck %s
7*f4a2713aSLionel Sambuc// CHECK: [indexDeclaration]: kind: struct | name: S |
8*f4a2713aSLionel Sambuc// CHECK-NOT: [indexDeclaration]: kind: struct | name: S |
9