aboutsummaryrefslogtreecommitdiff
path: root/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
commit2315318436b3e94d54c220c3b8986e8002394a43 (patch)
tree9d62d8e07a8ee845ce422bed224835b6bec51f16 /test/FixIt/fixit-function-call.cpp
parent335a13f069b25b0228d1e9e7cb55a83e6f8058fa (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FixIt/fixit-function-call.cpp')
-rw-r--r--test/FixIt/fixit-function-call.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FixIt/fixit-function-call.cpp b/test/FixIt/fixit-function-call.cpp
index b8a08d2301..273e4a41ec 100644
--- a/test/FixIt/fixit-function-call.cpp
+++ b/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.