Amaury de la Vieuville | 7681afd | 2013-09-13 11:02:31 +0000 | [diff] [blame] | 1 | // REQUIRES: native |
Argyrios Kyrtzidis | 819f9ff | 2015-08-05 17:23:59 +0000 | [diff] [blame] | 2 | // RUN: c-index-test -write-pch %t.pfx.h.gch -x objective-c-header %S/Inputs/cindex-from-source.h |
Daniel Dunbar | 644dca0 | 2009-12-04 08:17:33 +0000 | [diff] [blame] | 3 | // RUN: c-index-test -test-load-source local %s -include %t.pfx.h > %t |
| 4 | // RUN: FileCheck %s < %t |
Ted Kremenek | 473c7a7 | 2010-01-18 20:23:29 +0000 | [diff] [blame] | 5 | // CHECK: cindex-from-source.m:{{.*}}:{{.*}}: StructDecl=s0:{{.*}}:{{.*}} |
| 6 | // CHECK: cindex-from-source.m:{{.*}}:{{.*}}: VarDecl=g0:{{.*}}:{{.*}} |
Daniel Dunbar | 6092d50 | 2010-02-14 08:32:51 +0000 | [diff] [blame] | 7 | // CHECK: cindex-from-source.m:9:1: TypeRef=t0:1:13 Extent=[9:1 - 9:3] |
Daniel Dunbar | 644dca0 | 2009-12-04 08:17:33 +0000 | [diff] [blame] | 8 | struct s0 {}; |
| 9 | t0 g0; |
Douglas Gregor | aa21cc4 | 2010-07-19 21:46:24 +0000 | [diff] [blame] | 10 | |
| 11 | // RUN: c-index-test -test-load-source-reparse 5 local %s -include %t.pfx.h > %t |
| 12 | // RUN: FileCheck %s < %t |