diff options
Diffstat (limited to 'test/Frontend/disable-output.c')
-rw-r--r-- | test/Frontend/disable-output.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Frontend/disable-output.c b/test/Frontend/disable-output.c new file mode 100644 index 0000000..786ac77 --- /dev/null +++ b/test/Frontend/disable-output.c @@ -0,0 +1,7 @@ +// REQUIRES: x86-registered-target +// RUN: %clang_cc1 %s -emit-llvm-only -triple=i386-apple-darwin -o %t +// RUN: not rm %t +// RUN: %clang_cc1 %s -emit-codegen-only -triple=i386-apple-darwin -o %t +// RUN: not rm %t + +// Test that output is not generated when emission is disabled. |