19 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 13define void @other() {14 call void @foo.upgrd.1( ptr null )15 call void @foo( ptr null )16 ret void17}18 19