blob: 804329a49c9e63655d6ae90fd081d32abaa114df [file] [log] [blame]
Reid Spencer5dd5d4b2007-01-27 21:09:03 +00001; Test linking two functions with different prototypes and two globals
Reid Spenceraf6a4082007-01-30 16:16:01 +00002; in different modules. This is for PR411
Chandler Carruth8bdfe1e2012-07-02 10:18:06 +00003; 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
Dan Gohman0d4bbf22009-08-25 15:38:29 +00005; RUN: llvm-link %t.foo.bc %t.bar.bc -o %t.bc
Chandler Carruth8bdfe1e2012-07-02 10:18:06 +00006; RUN: llvm-link %t.bar.bc %t.foo.bc -o %t.bc