summaryrefslogtreecommitdiffstats
path: root/test/Index/c-index-pch.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/c-index-pch.c')
-rw-r--r--test/Index/c-index-pch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Index/c-index-pch.c b/test/Index/c-index-pch.c
index 313fae8..4a035d7 100644
--- a/test/Index/c-index-pch.c
+++ b/test/Index/c-index-pch.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -emit-pch -x c -o %t.pch %S/Inputs/c-index-pch.h
-// RUN: %clang_cc1 -include-pch %t.pch -x c -emit-pch -o %t.ast %s
+// RUN: c-index-test -write-pch %t.pch -x c %S/Inputs/c-index-pch.h
+// RUN: c-index-test -write-pch %t.ast -Xclang -include-pch -Xclang %t.pch -x c %s
// RUN: c-index-test -test-load-tu %t.ast all | FileCheck -check-prefix=ALL %s
// ALL: FunctionDecl=foo
// ALL: VarDecl=bar
OpenPOWER on IntegriCloud