diff options
| author | Reid Kleckner <rnk@google.com> | 2017-01-04 18:50:51 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-01-04 18:50:51 +0000 |
| commit | ae7b1c43ee15f40cb6df0166c68b7c7f6c94d653 (patch) | |
| tree | db6e0f0929cbd4293e071dad5a30800004e958b1 /clang | |
| parent | 4a24ad0a8164d2afbc9c0c831544ac51c032b596 (diff) | |
| download | bcm5719-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.c | 11 |
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 |

