From 173a4f43a911175643bda81ee675e8d9269056ea Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 24 Nov 2014 09:15:30 +0000 Subject: Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release): https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_350/final@216957 --- test/Frontend/disable-output.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/Frontend/disable-output.c (limited to 'test/Frontend/disable-output.c') 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. -- cgit v1.1