8625704ad8
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
7 lines
312 B
LLVM
7 lines
312 B
LLVM
; 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
|