13 lines · plain
1; RUN: llvm-as < %s > %t.out1.bc2; RUN: echo "%M = type { i32} " | llvm-as > %t.out2.bc3; RUN: llvm-link %t.out2.bc %t.out1.bc4 5%M = type opaque6 7define void @foo(ptr %V) {8 ret void9}10 11declare void @foo.upgrd.1(ptr)12 13 1; RUN: llvm-as < %s > %t.out1.bc2; RUN: echo "%M = type { i32} " | llvm-as > %t.out2.bc3; RUN: llvm-link %t.out2.bc %t.out1.bc4 5%M = type opaque6 7define void @foo(ptr %V) {8 ret void9}10 11declare void @foo.upgrd.1(ptr)12 13