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