Chris Lattner | f406d28 | 2002-07-23 18:26:48 +0000 | [diff] [blame] | 1 | ; This fails linking when it is linked with an empty file as the first object file |
2 | |||||
Chris Lattner | fce9d70 | 2002-08-20 19:32:17 +0000 | [diff] [blame] | 3 | ; RUN: as > Output/LinkTest1.bc < /dev/null |
Chris Lattner | f406d28 | 2002-07-23 18:26:48 +0000 | [diff] [blame] | 4 | ; RUN: as < %s > Output/LinkTest2.bc |
5 | ; RUN: link Output/LinkTest[12].bc | ||||
6 | |||||
7 | %work = global int (int, int)* %zip | ||||
8 | |||||
9 | declare int %zip(int, int) |