xref: /llvm-project/lld/test/COFF/visitedlibs.test (revision 9db61c3fe18aa5b717765745fd3287660fad571d)
1# RUN: rm -rf %t && mkdir -p %t
2# RUN: cp %S/Inputs/hello64.obj %t
3# RUN: cp %S/Inputs/std64.lib %t/STD64.lib
4
5# RUN: lld-link %t/STD64.lib /out:%t.exe /entry:main \
6# RUN:   /subsystem:console %t/hello64.obj /defaultlib:STD64.lib \
7# RUN:   /verbose 2>&1 | FileCheck %s
8
9CHECK: Reading {{.*}}/STD64.lib
10CHECK-NOT: could not open 'STD64.lib'
11