llvm.org GIT mirror llvm / e482a05 test / Linker / basiclink.ll
e482a05

Tree @e482a05 (Download .tar.gz)

basiclink.ll @e482a05

eb2073b
9085043
7e621f3
 
fea1dd0
7e621f3
1
2
3
4
5
6
; Test linking two functions with different prototypes and two globals 
; in different modules. This is for PR411
; RUN: llvm-as %S/Inputs/basiclink.a.ll -o %t.foo.bc
; RUN: llvm-as %S/Inputs/basiclink.b.ll -o %t.bar.bc
; RUN: llvm-link %t.foo.bc %t.bar.bc -o %t.bc
; RUN: llvm-link %t.bar.bc %t.foo.bc -o %t.bc