• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: yaml2obj %p/Inputs/include1a.yaml -o %t1.obj
2# RUN: yaml2obj %p/Inputs/include1b.yaml -o %t2.obj
3# RUN: yaml2obj %p/Inputs/include1c.yaml -o %t3.obj
4# RUN: rm -f %t2.lib %t3.lib
5# RUN: llvm-ar cru %t2.lib %t2.obj
6# RUN: llvm-ar cru %t3.lib %t3.obj
7# RUN: lld-link /out:%t.exe /entry:main %t1.obj %t2.lib %t3.lib /verbose >& %t.log
8# RUN: FileCheck %s < %t.log
9
10CHECK: include2.test.tmp1.obj
11CHECK: include2.test.tmp2.lib
12CHECK: include2.test.tmp2.lib(include2.test.tmp2.obj) for foo
13CHECK: include2.test.tmp3.lib
14CHECK: include2.test.tmp3.lib(include2.test.tmp3.obj) for bar
15