2003-08-28-TypeResolvesGlobal3.ll 317 B

123456789101112131415
  1. ; RUN: llvm-as < %s > %t.out1.bc
  2. ; RUN: echo "%M = type i32" | llvm-as > %t.out2.bc
  3. ; RUN: llvm-link %t.out2.bc %t.out1.bc
  4. %M = type opaque
  5. ; GLobal using the resolved function prototype
  6. global void (%M*)* @foo ; <void (%M*)**>:0 [#uses=0]
  7. define void @foo.upgrd.1(i32* %V) {
  8. ret void
  9. }
  10. declare void @foo(%M*)