Skip to content

Commit 9a7a6b2

Browse files
committed
[clang][test] Fix failed tests on non-Windows platforms
- Use '--' to separate inputs from options due to `%clang_cl`.
1 parent 999b356 commit 9a7a6b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/CodeGenCXX/microsoft-abi-eh-disabled.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang_cl -c --target=x86_64-windows-msvc /EHs-c- -O2 /GS- \
22
// RUN: -Xclang=-import-call-optimization \
3-
// RUN: /clang:-S /clang:-o- %s 2>&1 \
3+
// RUN: /clang:-S /clang:-o- -- %s 2>&1 \
44
// RUN: | FileCheck %s
55

66
#ifdef __clang__

clang/test/CodeGenCXX/microsoft-abi-eh-ip2state.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang_cl -c --target=x86_64-windows-msvc -O2 /EHsc /GS- \
22
// RUN: -Xclang=-import-call-optimization \
3-
// RUN: /clang:-S /clang:-o- %s 2>&1 \
3+
// RUN: /clang:-S /clang:-o- -- %s 2>&1 \
44
// RUN: | FileCheck %s
55

66
#ifdef __clang__

0 commit comments

Comments
 (0)