blob: 8b00cb902c56126551a9f3f924a512154b0c2aec [file] [log] [blame]
Chris Lattner730507c2002-08-20 19:29:20 +00001; This fails linking when it is linked with an empty file as the first object file
2
Misha Brukmanb6cb66f2003-09-15 20:04:28 +00003; RUN: llvm-as > %t.LinkTest.bc < /dev/null
4; RUN: llvm-as < %s > %t.bc
5; RUN: llvm-link %t.LinkTest.bc %t.bc
Chris Lattner730507c2002-08-20 19:29:20 +00006
7%work = global int 4
Chris Lattner10806b62003-01-23 19:52:48 +00008%test = global int* getelementptr( int* %work, long 1)
Chris Lattner730507c2002-08-20 19:29:20 +00009