aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/2008-07-17-no-emit-on-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2008-07-17-no-emit-on-error.c')
-rw-r--r--test/CodeGen/2008-07-17-no-emit-on-error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/2008-07-17-no-emit-on-error.c b/test/CodeGen/2008-07-17-no-emit-on-error.c
index 855ede7ab02b0..2cae57b3d89f6 100644
--- a/test/CodeGen/2008-07-17-no-emit-on-error.c
+++ b/test/CodeGen/2008-07-17-no-emit-on-error.c
@@ -1,9 +1,9 @@
// RUN: rm -f %t1.bc
// RUN: %clang_cc1 -DPASS %s -emit-llvm-bc -o %t1.bc
-// RUN: test -f %t1.bc
+// RUN: opt %t1.bc -disable-output
// RUN: rm -f %t1.bc
// RUN: not %clang_cc1 %s -emit-llvm-bc -o %t1.bc
-// RUN: not test -f %t1.bc
+// RUN: not opt %t1.bc -disable-output
void f() {
}