summaryrefslogtreecommitdiffstats
path: root/clang/test/Tooling/fixed-database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Tooling/fixed-database.cpp')
-rw-r--r--clang/test/Tooling/fixed-database.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Tooling/fixed-database.cpp b/clang/test/Tooling/fixed-database.cpp
index e0cdb1e51e4..73d0779258b 100644
--- a/clang/test/Tooling/fixed-database.cpp
+++ b/clang/test/Tooling/fixed-database.cpp
@@ -8,7 +8,8 @@
// RUN: echo "-Dklazz=class" >> %t/compile_flags.txt
// RUN: echo '-std=c++11' >> %t/compile_flags.txt
// RUN: clang-check "%t/Src/test.cpp" 2>&1
-// RUN: not clang-check "%s" 2>&1 | FileCheck "%s" -check-prefix=NODB
+// RUN: echo > %t/compile_flags.txt
+// RUN: not clang-check "%t/Src/test.cpp" 2>&1 | FileCheck "%s" -check-prefix=NODB
// NODB: unknown type name 'klazz'
klazz F{};
OpenPOWER on IntegriCloud