diff options
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.c | 4 |
1 files changed, 4 insertions, 0 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 fbff541..6266b50 100644 --- a/test/CodeGen/2008-07-17-no-emit-on-error.c +++ b/test/CodeGen/2008-07-17-no-emit-on-error.c @@ -1,10 +1,14 @@ // RUN: rm -f %t1.bc +// RUN: clang-cc -DPASS %s -emit-llvm-bc -o %t1.bc +// RUN: test -f %t1.bc // RUN: not clang-cc %s -emit-llvm-bc -o %t1.bc // RUN: not test -f %t1.bc void f() { } +#ifndef PASS void g() { *10; } +#endif |