Chris Lattner | 730507c | 2002-08-20 19:29:20 +0000 | [diff] [blame^] | 1 | ; This fails linking when it is linked with an empty file as the first object file |
2 | |||||
3 | ; RUN: as > Output/%s.LinkTest.bc < /dev/null | ||||
4 | ; RUN: as < %s > Output/%s.bc | ||||
5 | ; RUN: link Output/%s.LinkTest.bc Output/%s.bc | ||||
6 | |||||
7 | %work = global int 4 | ||||
8 | %test = global int* getelementptr( int* %work, uint 1) | ||||
9 |