]> granicus.if.org Git - clang/commitdiff
Fix as-w-option.c on Windows where no assembler exists
authorReid Kleckner <rnk@google.com>
Tue, 15 Oct 2019 18:39:41 +0000 (18:39 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 15 Oct 2019 18:39:41 +0000 (18:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374936 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/as-w-option.c

index 42d6df226b50610f1060f7bcc68cf8605e389cae..5277701dd1334b137cf8ac0ff9ff63ece5c844c1 100644 (file)
@@ -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"