xref: /llvm-project/llvm/test/Linker/basiclink.ll (revision 8bdfe1ec92a6c28791a65a05de7eede2302705a4)
1; Test linking two functions with different prototypes and two globals
2; in different modules. This is for PR411
3; RUN: llvm-as %S/Inputs/basiclink.a.ll -o %t.foo.bc
4; RUN: llvm-as %S/Inputs/basiclink.b.ll -o %t.bar.bc
5; RUN: llvm-link %t.foo.bc %t.bar.bc -o %t.bc
6; RUN: llvm-link %t.bar.bc %t.foo.bc -o %t.bc
7