aboutsummaryrefslogtreecommitdiff
path: root/test/Index/complete-pch.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/complete-pch.m')
-rw-r--r--test/Index/complete-pch.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/complete-pch.m b/test/Index/complete-pch.m
index 4c29f2796b5c7..486a0dc53d044 100644
--- a/test/Index/complete-pch.m
+++ b/test/Index/complete-pch.m
@@ -14,7 +14,7 @@ void msg_id(id x) {
// REQUIRES: native
// Build the precompiled header
-// RUN: %clang -x objective-c-header -o %t.h.pch %S/Inputs/complete-pch.h
+// RUN: c-index-test -write-pch %t.h.pch -x objective-c-header %S/Inputs/complete-pch.h
// Run the actual tests
// RUN: c-index-test -code-completion-at=%s:10:7 -include %t.h %s | FileCheck -check-prefix=CHECK-CC1 %s