summaryrefslogtreecommitdiffstats
path: root/test/Index/cindex-from-source.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/cindex-from-source.m')
-rw-r--r--test/Index/cindex-from-source.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Index/cindex-from-source.m b/test/Index/cindex-from-source.m
index 6c5d936..86e794d 100644
--- a/test/Index/cindex-from-source.m
+++ b/test/Index/cindex-from-source.m
@@ -1,5 +1,5 @@
-// RUN: echo 'typedef int t0;' > %t.pfx.h
-// RUN: %clang -x objective-c-header %t.pfx.h -o %t.pfx.h.gch
+
+// RUN: %clang -x objective-c-header %S/Inputs/cindex-from-source.h -o %t.pfx.h.gch
// RUN: c-index-test -test-load-source local %s -include %t.pfx.h > %t
// RUN: FileCheck %s < %t
// CHECK: cindex-from-source.m:{{.*}}:{{.*}}: StructDecl=s0:{{.*}}:{{.*}}
OpenPOWER on IntegriCloud