summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-10-15 18:39:41 +0000
committerReid Kleckner <rnk@google.com>2019-10-15 18:39:41 +0000
commit2a0fc7108d71626c4f5ba4dbef1a369bc110914f (patch)
treecdba3c84ae37bef3e362bb6a2db0b60aeb2529f7
parent1d08493df33c295a8647a712884d7c634f8e8057 (diff)
downloadclang-2a0fc7108d71626c4f5ba4dbef1a369bc110914f.tar.gz
Fix as-w-option.c on Windows where no assembler exists
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374936 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Driver/as-w-option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Driver/as-w-option.c b/test/Driver/as-w-option.c
index 42d6df226b..5277701dd1 100644
--- a/test/Driver/as-w-option.c
+++ b/test/Driver/as-w-option.c
@@ -1,4 +1,4 @@
-// RUN: %clang -### %s -c -o tmp.o -fno-integrated-as -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-NOIAS %s
+// RUN: %clang -### %s -c -o tmp.o -fno-integrated-as --target=x86_64-linux-gnu -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-NOIAS %s
// RUN: %clang -### %s -c -o tmp.o -integrated-as -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-IAS %s
// CHECK-IAS: "-cc1" {{.*}} "-massembler-no-warn"