summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-function-call.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-09-06 03:01:15 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-09-06 03:01:15 +0000
commit3ab15558d7698201a7d6b9c1831394d18145ffb6 (patch)
tree1101aeda4ce093e8e1b0355009bd323ed5b8f114 /clang/test/FixIt/fixit-function-call.cpp
parent8ed0ef9bae4d53df19890a514ee649fcabe814b6 (diff)
downloadbcm5719-llvm-3ab15558d7698201a7d6b9c1831394d18145ffb6.tar.gz
bcm5719-llvm-3ab15558d7698201a7d6b9c1831394d18145ffb6.zip
PR10867: Work around a bug in lit. Multiple RUN: lines are joined with &&, so:
RUN: foo RUN: bar || true is equivalent to: RUN: foo && bar || true which is equivalent to: RUN: (foo && bar) || true This resulted in several of the fixit tests not really testing anything. llvm-svn: 139132
Diffstat (limited to 'clang/test/FixIt/fixit-function-call.cpp')
-rw-r--r--clang/test/FixIt/fixit-function-call.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/FixIt/fixit-function-call.cpp b/clang/test/FixIt/fixit-function-call.cpp
index b8a08d2301b..273e4a41ec8 100644
--- a/clang/test/FixIt/fixit-function-call.cpp
+++ b/clang/test/FixIt/fixit-function-call.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fdiagnostics-parseable-fixits -x c++ %s 2> %t || true
+// RUN: not %clang_cc1 -fdiagnostics-parseable-fixits -x c++ %s 2> %t
// RUN: FileCheck %s < %t
// PR5941
// END.
OpenPOWER on IntegriCloud