summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-01-04 18:50:51 +0000
committerReid Kleckner <rnk@google.com>2017-01-04 18:50:51 +0000
commitae7b1c43ee15f40cb6df0166c68b7c7f6c94d653 (patch)
treedb6e0f0929cbd4293e071dad5a30800004e958b1 /clang
parent4a24ad0a8164d2afbc9c0c831544ac51c032b596 (diff)
downloadbcm5719-llvm-ae7b1c43ee15f40cb6df0166c68b7c7f6c94d653.tar.gz
bcm5719-llvm-ae7b1c43ee15f40cb6df0166c68b7c7f6c94d653.zip
Use -### so the mbig-obj.c test passes when there is no registered x86 target
llvm-svn: 290984
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Driver/mbig-obj.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/clang/test/Driver/mbig-obj.c b/clang/test/Driver/mbig-obj.c
index 77e8cef7000..8e0106d5ff1 100644
--- a/clang/test/Driver/mbig-obj.c
+++ b/clang/test/Driver/mbig-obj.c
@@ -1,9 +1,6 @@
-// RUN: %clang --target=x86_64-windows -c -Wa,-mbig-obj %s 2>&1 | FileCheck %s --check-prefix=WINDOWS
-// RUN: %clang --target=x86_64-windows -c -Xassembler -mbig-obj %s 2>&1 | FileCheck %s --check-prefix=WINDOWS
-// RUN: not %clang --target=x86_64-linux -c -Wa,-mbig-obj %s 2>&1 | FileCheck %s --check-prefix=LINUX
-// RUN: not %clang --target=x86_64-linux -c -Xassembler -mbig-obj %s 2>&1 | FileCheck %s --check-prefix=LINUX
+// RUN: %clang --target=x86_64-windows -c -Wa,-mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=WINDOWS
+// RUN: %clang --target=x86_64-windows -c -Xassembler -mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=WINDOWS
+// RUN: %clang --target=x86_64-linux -c -Wa,-mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=LINUX
+// RUN: %clang --target=x86_64-linux -c -Xassembler -mbig-obj %s -### 2>&1 | FileCheck %s --check-prefix=LINUX
// WINDOWS-NOT: argument unused during compilation
// LINUX: unsupported argument '-mbig-obj' to option '{{(Wa,|Xassembler)}}'
-#ifdef _WIN32
-#warning "produce non-empty output for FileCheck"
-#endif
OpenPOWER on IntegriCloud