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 | 925213b0fa3f9bbbe949326bb89a8d774c05994b (patch) | |
| tree | 5de754b11dc2a3f49f4f5017b05ac73b4cfdc656 /clang/test/CodeGen/link-bitcode-file.c | |
| parent | 18ce7e476128320cd8689090025af054bfe900f5 (diff) | |
| download | bcm5719-llvm-925213b0fa3f9bbbe949326bb89a8d774c05994b.tar.gz bcm5719-llvm-925213b0fa3f9bbbe949326bb89a8d774c05994b.zip | |
Add 'not' to commands that are expected to fail.
This is at least good documentation, but also opens the possibility of
using pipefail.
llvm-svn: 185652
Diffstat (limited to 'clang/test/CodeGen/link-bitcode-file.c')
| -rw-r--r-- | clang/test/CodeGen/link-bitcode-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/link-bitcode-file.c b/clang/test/CodeGen/link-bitcode-file.c index 77404062ecd..7b2bfd6e664 100644 --- a/clang/test/CodeGen/link-bitcode-file.c +++ b/clang/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); |

