cindex-from-source.m revision 51d07cb2f9b7e1e958a44cf894b7372b26b3b6bc
1 2// RUN: %clang -x objective-c-header %S/Inputs/cindex-from-source.h -o %t.pfx.h.gch 3// RUN: c-index-test -test-load-source local %s -include %t.pfx.h > %t 4// RUN: FileCheck %s < %t 5// CHECK: cindex-from-source.m:{{.*}}:{{.*}}: StructDecl=s0:{{.*}}:{{.*}} 6// CHECK: cindex-from-source.m:{{.*}}:{{.*}}: VarDecl=g0:{{.*}}:{{.*}} 7// CHECK: cindex-from-source.m:9:1: TypeRef=t0:1:13 Extent=[9:1 - 9:3] 8struct s0 {}; 9t0 g0; 10