From 1b7423d12acc138cd54f6fafcdf98615fc946d61 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 4 Jan 2017 18:50:51 +0000 Subject: [PATCH] Use -### so the mbig-obj.c test passes when there is no registered x86 target git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290984 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/mbig-obj.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test/Driver/mbig-obj.c b/test/Driver/mbig-obj.c index 77e8cef700..8e0106d5ff 100644 --- a/test/Driver/mbig-obj.c +++ b/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 -- 2.40.0