summaryrefslogtreecommitdiffstats
path: root/test/Tooling/auto-detect-from-source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Tooling/auto-detect-from-source.cpp')
-rw-r--r--test/Tooling/auto-detect-from-source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Tooling/auto-detect-from-source.cpp b/test/Tooling/auto-detect-from-source.cpp
index 77e06e7..6ff39ac 100644
--- a/test/Tooling/auto-detect-from-source.cpp
+++ b/test/Tooling/auto-detect-from-source.cpp
@@ -2,7 +2,7 @@
// RUN: mkdir %t
// RUN: echo "[{\"directory\":\".\",\"command\":\"clang++ -c %t/test.cpp\",\"file\":\"%t/test.cpp\"}]" | sed -e 's/\\/\\\\/g' > %t/compile_commands.json
// RUN: cp "%s" "%t/test.cpp"
-// RUN: clang-check "%t/test.cpp" 2>&1 | FileCheck %s
+// RUN: not clang-check "%t/test.cpp" 2>&1 | FileCheck %s
// CHECK: C++ requires
invalid;
OpenPOWER on IntegriCloud