Author: Nico Weber
Date: 2021-09-16T08:43:58-04:00
New Revision: 05ea321f716390abda1632cca71dc9441662cf62

URL: 
https://github.com/llvm/llvm-project/commit/05ea321f716390abda1632cca71dc9441662cf62
DIFF: 
https://github.com/llvm/llvm-project/commit/05ea321f716390abda1632cca71dc9441662cf62.diff

LOG: [clang-cl] Fix test after 951f362e256 on systems where default target 
isn't x86_64

Added: 
    

Modified: 
    clang/test/Driver/cl-sysroot.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/cl-sysroot.cpp 
b/clang/test/Driver/cl-sysroot.cpp
index 46edf3ac0512..eb701f28514d 100644
--- a/clang/test/Driver/cl-sysroot.cpp
+++ b/clang/test/Driver/cl-sysroot.cpp
@@ -1,8 +1,10 @@
 // RUN: rm -rf %t
 // RUN: split-file %s %t
 
-// RUN: %clang_cl -m64 /winsysroot %t -### -- %t/foo.cpp 2>&1 | FileCheck %s
-// RUN: %clang_cl -m64 \
+// RUN: %clang_cl --target=x86_64-windows \
+// RUN:     /winsysroot %t \
+// RUN:     -### -- %t/foo.cpp 2>&1 | FileCheck %s
+// RUN: %clang_cl --target=x86_64-windows \
 // RUN:     /diasdkdir "%t/DIA SDK" \
 // RUN:     /vctoolsdir %t/VC/Tools/MSVC/27.1828.18284 \
 // RUN:     /winsdkdir "%t/Windows Kits/10" \


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to