Skip to content

Commit 40d2d0c

Browse files
committed
[clang][test] Add -fuse-ld= to test case added in 2542c1a to resolve test failure with CLANG_DEFAULT_LINKER=lld
1 parent ce5b132 commit 40d2d0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/darwin-ld.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
// LINK_VERSION_MIN: {{ld(.exe)?"}}
141141
// LINK_VERSION_MIN: "-macosx_version_min" "10.7.0"
142142

143-
// RUN: %clang -target x86_64-apple-ios13.1-macabi -mlinker-version=400 -### %t.o 2>> %t.log
143+
// RUN: %clang -target x86_64-apple-ios13.1-macabi -fuse-ld= -mlinker-version=400 -### %t.o 2>> %t.log
144144
// RUN: FileCheck -check-prefix=LINK_VERSION_MIN_MACABI %s < %t.log
145145
// LINK_VERSION_MIN_MACABI: {{ld(.exe)?"}}
146146
// LINK_VERSION_MIN_MACABI: "-maccatalyst_version_min" "13.1.0"

0 commit comments

Comments
 (0)