]> granicus.if.org Git - clang/commitdiff
Fix codeview-column-info.c test with a triple
authorReid Kleckner <rnk@google.com>
Mon, 26 Feb 2018 23:06:40 +0000 (23:06 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 26 Feb 2018 23:06:40 +0000 (23:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326144 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/codeview-column-info.c

index 9f2f016a5f8657332d581b676b7c2c76aab8b2df..10451c98d0d423a7fcfd6f1fa2a7ddf705dd5092 100644 (file)
@@ -2,11 +2,11 @@
 // 1) When -gcodeview is present via the clang or clang++ driver
 // 2) When /Z7 is present via the cl driver.
 
-// RUN: %clang -### -c -g -gcodeview %s 2> %t1
+// RUN: %clang -### --target=x86_64-windows-msvc -c -g -gcodeview %s 2> %t1
 // RUN: FileCheck < %t1 %s
-// RUN: %clangxx -### -c -g -gcodeview %s 2> %t2
+// RUN: %clangxx -### --target=x86_64-windows-msvc -c -g -gcodeview %s 2> %t2
 // RUN: FileCheck < %t2 %s
-// RUN: %clang_cl -### /c /Z7 %s 2> %t2
+// RUN: %clang_cl -### --target=x86_64-windows-msvc /c /Z7 %s 2> %t2
 // RUN: FileCheck < %t2 %s
 
 // CHECK: "-cc1"