cindex-from-source.m revision cf84aa46def41cccf4dd4c51cd0543b70c11e4eb
1// RUN: echo 'typedef int t0;' > %t.pfx.h 2// RUN: %clang -x objective-c-header %t.pfx.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 8struct s0 {}; 9t0 g0; 10