2015-06-20 05:12:48 +08:00
|
|
|
# RUN: yaml2obj < %p/Inputs/include1a.yaml > %t1.obj
|
|
|
|
# RUN: yaml2obj < %p/Inputs/include1b.yaml > %t2.obj
|
|
|
|
# RUN: yaml2obj < %p/Inputs/include1c.yaml > %t3.obj
|
|
|
|
# RUN: rm -f %t2.lib %t3.lib
|
|
|
|
# RUN: llvm-ar cru %t2.lib %t2.obj
|
|
|
|
# RUN: llvm-ar cru %t3.lib %t3.obj
|
2015-08-07 00:47:46 +08:00
|
|
|
# RUN: lld-link /out:%t.exe /entry:main %t1.obj %t2.lib %t3.lib /verbose >& %t.log
|
2015-06-20 05:12:48 +08:00
|
|
|
# RUN: FileCheck %s < %t.log
|
|
|
|
|
|
|
|
CHECK: include2.test.tmp1.obj
|
|
|
|
CHECK: include2.test.tmp2.lib
|
2015-07-01 03:35:21 +08:00
|
|
|
CHECK: include2.test.tmp2.lib(include2.test.tmp2.obj) for foo
|
2016-12-10 05:55:24 +08:00
|
|
|
CHECK: include2.test.tmp3.lib
|
2015-06-20 05:12:48 +08:00
|
|
|
CHECK: include2.test.tmp3.lib(include2.test.tmp3.obj) for bar
|