Home | History | Annotate | Download | only in Linker
      1 ; RUN: echo {%foo2 = type \{ \[8 x i8\] \} \
      2 ; RUN:       declare void @zed(%foo2*) } > %t.ll
      3 ; RUN: llvm-link %t.ll %s -o %t.bc
      4 
      5 %foo = type { [8 x i8] }
      6 %bar = type { [9 x i8] }
      7 
      8 @zed = alias bitcast (void (%bar*)* @xyz to void (%foo*)*)
      9 
     10 define void @xyz(%bar* %this) {
     11 entry:
     12   ret void
     13 }
     14