We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7ead5b commit e742794Copy full SHA for e742794
lld/test/MinGW/lib.test
@@ -7,6 +7,13 @@ RUN: echo > %t/lib/libfoo.dll.a
7
RUN: ld.lld -### -m i386pep -lfoo -L%t/lib | FileCheck -check-prefix=LIB2 %s
8
LIB2: libfoo.dll.a
9
10
+RUN: not ld.lld -### -m i386pep -l:barefilename -L%t/lib 2>&1 | FileCheck -check-prefix=LIB-LITERAL-FAIL %s
11
+LIB-LITERAL-FAIL: unable to find library -l:barefilename
12
+
13
+RUN: echo > %t/lib/barefilename
14
+RUN: ld.lld -### -m i386pep -l:barefilename -L%t/lib 2>&1 | FileCheck -check-prefix=LIB-LITERAL %s
15
+LIB-LITERAL: barefilename
16
17
RUN: not ld.lld -### -m i386pep -Bstatic -lfoo -L%t/lib 2>&1 | FileCheck -check-prefix=LIB3 %s
18
LIB3: unable to find library -lfoo
19
0 commit comments