2007-01-28 05:09:03 +08:00
|
|
|
; Test linking two functions with different prototypes and two globals
|
2007-01-31 00:16:01 +08:00
|
|
|
; in different modules. This is for PR411
|
2012-07-02 18:18:06 +08:00
|
|
|
; RUN: llvm-as %S/Inputs/basiclink.a.ll -o %t.foo.bc
|
|
|
|
; RUN: llvm-as %S/Inputs/basiclink.b.ll -o %t.bar.bc
|
2009-08-25 23:38:29 +08:00
|
|
|
; RUN: llvm-link %t.foo.bc %t.bar.bc -o %t.bc
|
2012-07-02 18:18:06 +08:00
|
|
|
; RUN: llvm-link %t.bar.bc %t.foo.bc -o %t.bc
|