15dd5d4b0SReid Spencer; Test linking two functions with different prototypes and two globals
2af6a4081SReid Spencer; in different modules. This is for PR411
3*8bdfe1ecSChandler Carruth; RUN: llvm-as %S/Inputs/basiclink.a.ll -o %t.foo.bc
4*8bdfe1ecSChandler Carruth; RUN: llvm-as %S/Inputs/basiclink.b.ll -o %t.bar.bc
50d4bbf2cSDan Gohman; RUN: llvm-link %t.foo.bc %t.bar.bc -o %t.bc
6*8bdfe1ecSChandler Carruth; RUN: llvm-link %t.bar.bc %t.foo.bc -o %t.bc
7