summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/fatal-module-loader-error.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/fatal-module-loader-error.m')
-rw-r--r--clang/test/Modules/fatal-module-loader-error.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/fatal-module-loader-error.m b/clang/test/Modules/fatal-module-loader-error.m
index dbaea68363f..6af3b4c7c37 100644
--- a/clang/test/Modules/fatal-module-loader-error.m
+++ b/clang/test/Modules/fatal-module-loader-error.m
@@ -21,6 +21,6 @@
#endif
// Also check that libclang does not create a PCH with such an error.
-// RUN: c-index-test -write-pch %t.pch -fmodules -fmodules-cache-path=%t %s \
-// RUN: -Xclang -fdisable-module-hash -F %S/Inputs 2>&1 | FileCheck %s
+// RUN: not c-index-test -write-pch %t.pch -fmodules -fmodules-cache-path=%t \
+// RUN: %s -Xclang -fdisable-module-hash -F %S/Inputs 2>&1 | FileCheck %s
// CHECK: Unable to write PCH file
OpenPOWER on IntegriCloud