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 | |||||
3 | ; RUN: touch Output/LinkTest1.ll | ||||
4 | ; RUN: as Output/LinkTest1.ll | ||||
5 | ; RUN: as < %s > Output/LinkTest2.bc | ||||
6 | ; RUN: link Output/LinkTest[12].bc | ||||
7 | |||||
8 | %work = global int (int, int)* %zip | ||||
9 | |||||
10 | declare int %zip(int, int) |