brintos

brintos / llvm-project-archived public Read only

0
0
Text · 304 B · 4d2eb70 Raw
16 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 7; GLobal using the resolved function prototype8@0 = global ptr @foo		; <ptr>:0 [#uses=0]9 10define void @foo.upgrd.1(ptr %V) {11	ret void12}13 14declare void @foo(ptr)15 16