Skip to content

Commit b9c1e15

Browse files
rupprechtdyung
authored andcommitted
[clang][test] Avoid relying on -fuse-ld=ld default value for marm64x test (#209597)
Test case added in #209324 (cherry picked from commit 0b908e1)
1 parent 38e1487 commit b9c1e15

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

clang/test/Driver/msvc-link.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
// RUN: %clang_cl -arm64EC -marm64x -fuse-ld=link -### -- %s 2>&1 | FileCheck --check-prefix=ARM64X %s
4646
// ARM64X: "-machine:arm64x"
4747

48-
// RUN: %clang --target=arm64ec-pc-windows-msvc -marm64x -### %s 2>&1 | FileCheck --check-prefix=ARM64X-LLD %s
49-
// RUN: %clang --target=aarch64-pc-windows-msvc -marm64x -### %s 2>&1 | FileCheck --check-prefix=ARM64X-LLD %s
50-
// RUN: %clang_cl -marm64x -### -- %s 2>&1 | FileCheck --check-prefix=ARM64X-LLD %s
51-
// RUN: %clang_cl -arm64EC -marm64x -### -- %s 2>&1 | FileCheck --check-prefix=ARM64X-LLD %s
48+
// RUN: %clang -fuse-ld= --target=arm64ec-pc-windows-msvc -marm64x -### %s 2>&1 | FileCheck --check-prefix=ARM64X-LLD %s
49+
// RUN: %clang -fuse-ld= --target=aarch64-pc-windows-msvc -marm64x -### %s 2>&1 | FileCheck --check-prefix=ARM64X-LLD %s
50+
// RUN: %clang_cl -fuse-ld= -marm64x -### -- %s 2>&1 | FileCheck --check-prefix=ARM64X-LLD %s
51+
// RUN: %clang_cl -fuse-ld= -arm64EC -marm64x -### -- %s 2>&1 | FileCheck --check-prefix=ARM64X-LLD %s
5252
// ARM64X-LLD: lld-link
5353
// ARM64X-LLD-SAME: "-machine:arm64x"
5454

0 commit comments

Comments
 (0)