2002-07-17-LinkTest2.ll 279 B

12345678910
  1. ; This fails linking when it is linked with an empty file as the first object file
  2. ; RUN: llvm-as > %t1.bc < /dev/null
  3. ; RUN: llvm-as < %s > %t2.bc
  4. ; RUN: llvm-link %t1.bc %t2.bc
  5. @work = global i32 (i32, i32)* @zip ; <i32 (i32, i32)**> [#uses=0]
  6. declare i32 @zip(i32, i32)