diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 16:16:58 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 16:16:58 +0000 |
commit | 96e7813f08c6adf1d8657b0da86741b54e850fd7 (patch) | |
tree | d0e93406ffb173f5a8f55f9e9cd62c09e6dd7b40 /test/CodeGen/link-bitcode-file.c | |
parent | 3c7511a44d20d0fd9e287747eb58a00215c57533 (diff) | |
download | clang-96e7813f08c6adf1d8657b0da86741b54e850fd7.tar.gz |
Add 'not' to commands that are expected to fail.
This is at least good documentation, but also opens the possibility of
using pipefail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/link-bitcode-file.c')
-rw-r--r-- | test/CodeGen/link-bitcode-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/link-bitcode-file.c b/test/CodeGen/link-bitcode-file.c index 77404062ec..7b2bfd6e66 100644 --- a/test/CodeGen/link-bitcode-file.c +++ b/test/CodeGen/link-bitcode-file.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -triple i386-pc-linux-gnu -DBITCODE -emit-llvm-bc -o %t.bc %s // RUN: %clang_cc1 -triple i386-pc-linux-gnu -mlink-bitcode-file %t.bc -O3 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-NO-BC %s -// RUN: %clang_cc1 -triple i386-pc-linux-gnu -DBITCODE -mlink-bitcode-file %t.bc -O3 -emit-llvm -o - %s 2>&1 | FileCheck -check-prefix=CHECK-BC %s +// RUN: not %clang_cc1 -triple i386-pc-linux-gnu -DBITCODE -mlink-bitcode-file %t.bc -O3 -emit-llvm -o - %s 2>&1 | FileCheck -check-prefix=CHECK-BC %s int f(void); |