summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-cxx0x.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-cxx0x.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-cxx0x.cpp')
-rw-r--r--clang/test/FixIt/fixit-cxx0x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/FixIt/fixit-cxx0x.cpp b/clang/test/FixIt/fixit-cxx0x.cpp
index 77e9e5815c2..c3c1dcf20f5 100644
--- a/clang/test/FixIt/fixit-cxx0x.cpp
+++ b/clang/test/FixIt/fixit-cxx0x.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -verify -std=c++0x %s
// RUN: cp %s %t
-// RUN: %clang_cc1 -x c++ -std=c++0x -fixit %t || true
+// RUN: not %clang_cc1 -x c++ -std=c++0x -fixit %t
// RUN: %clang_cc1 -Wall -pedantic -x c++ -std=c++0x %t
/* This is a test of the various code modification hints that only
OpenPOWER on IntegriCloud