2015-06-20 06:39:48 +08:00
|
|
|
# RUN: mkdir -p %t/a %t/b %t/c
|
2015-06-20 05:44:32 +08:00
|
|
|
# RUN: cp %p/Inputs/std64.lib %t/a/
|
|
|
|
# RUN: cp %p/Inputs/std64.lib %t/b/
|
2015-06-20 06:39:48 +08:00
|
|
|
# RUN: cp %p/Inputs/std64.lib %t/c/
|
2015-06-20 05:44:32 +08:00
|
|
|
|
2015-08-07 00:47:46 +08:00
|
|
|
# RUN: env LIB=%t/a lld-link /out:%t.exe /entry:main /verbose \
|
2015-06-20 06:39:48 +08:00
|
|
|
# RUN: std64.lib /subsystem:console %p/Inputs/hello64.obj \
|
|
|
|
# RUN: /libpath:%t/b /libpath:%t/c > %t.log
|
2015-06-20 05:44:32 +08:00
|
|
|
# RUN: FileCheck -check-prefix=CHECK1 %s < %t.log
|
|
|
|
|
2015-06-20 06:39:48 +08:00
|
|
|
CHECK1: b{{[/\\]}}std64.lib
|
2015-06-20 05:44:32 +08:00
|
|
|
|
2015-08-07 00:47:46 +08:00
|
|
|
# RUN: lld-link /out:%t.exe /entry:main /verbose \
|
2015-06-20 06:39:48 +08:00
|
|
|
# RUN: std64.lib /subsystem:console %p/Inputs/hello64.obj \
|
|
|
|
# RUN: /libpath:%t/a /libpath:%t/b /libpath:%t/c > %t.log
|
2015-06-20 05:44:32 +08:00
|
|
|
# RUN: FileCheck -check-prefix=CHECK2 %s < %t.log
|
|
|
|
|
2015-06-20 06:39:48 +08:00
|
|
|
CHECK2: a{{[/\\]}}std64.lib
|