9 lines · plain
1; RUN: llvm-as < %s > %t.bc2; RUN: echo | llvm-as > %t.tmp.bc3; RUN: llvm-link %t.tmp.bc %t.bc4 5@X = constant i32 5 ; <ptr> [#uses=2]6@Y = internal global [2 x ptr] [ ptr @X, ptr @X ] ; <ptr> [#uses=0]7 8 9 1; RUN: llvm-as < %s > %t.bc2; RUN: echo | llvm-as > %t.tmp.bc3; RUN: llvm-link %t.tmp.bc %t.bc4 5@X = constant i32 5 ; <ptr> [#uses=2]6@Y = internal global [2 x ptr] [ ptr @X, ptr @X ] ; <ptr> [#uses=0]7 8 9