Reid Spencer | eb2073b | 2007-01-27 21:09:03 +0000 | [diff] [blame] | 1 | ; Test linking two functions with different prototypes and two globals |
Reid Spencer | 9085043 | 2007-01-30 16:16:01 +0000 | [diff] [blame] | 2 | ; in different modules. This is for PR411 |
Chandler Carruth | 7e621f3 | 2012-07-02 10:18:06 +0000 | [diff] [blame] | 3 | ; 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 Gohman | fea1dd0 | 2009-08-25 15:38:29 +0000 | [diff] [blame] | 5 | ; RUN: llvm-link %t.foo.bc %t.bar.bc -o %t.bc |
Chandler Carruth | 7e621f3 | 2012-07-02 10:18:06 +0000 | [diff] [blame] | 6 | ; RUN: llvm-link %t.bar.bc %t.foo.bc -o %t.bc |