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 9ef907a commit 9028f86Copy full SHA for 9028f86
lld/test/COFF/nodefaultlib.test
@@ -40,4 +40,6 @@ UPPERCASE-NOT: LIBCMT
40
# RUN: yaml2obj -o %T/defaultlib.obj %p/Inputs/defaultlib.yaml
41
# RUN: mkdir -p %t.dir/sysroot/VC/Tools/MSVC/1.1.1.1/lib/x64
42
# RUN: cp %p/Inputs/ret42.lib %t.dir/sysroot/VC/Tools/MSVC/1.1.1.1/lib/x64/default.lib
43
+
44
+# RUN: lld-link /winsysroot:%t.dir/sysroot /out:%t.exe /entry:main /subsystem:console %T/defaultlib.obj
45
# RUN: not lld-link /winsysroot:%t.dir/sysroot /out:%t.exe /entry:main /subsystem:console /nodefaultlib:default.lib %T/defaultlib.obj
0 commit comments