diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-09-06 03:01:15 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-09-06 03:01:15 +0000 |
commit | 2315318436b3e94d54c220c3b8986e8002394a43 (patch) | |
tree | 9d62d8e07a8ee845ce422bed224835b6bec51f16 /test/FixIt/fixit-cxx0x.cpp | |
parent | 335a13f069b25b0228d1e9e7cb55a83e6f8058fa (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-cxx0x.cpp')
-rw-r--r-- | test/FixIt/fixit-cxx0x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FixIt/fixit-cxx0x.cpp b/test/FixIt/fixit-cxx0x.cpp index 77e9e5815c..c3c1dcf20f 100644 --- a/test/FixIt/fixit-cxx0x.cpp +++ b/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 |