Home | History | Annotate | Download | only in Verifier
      1 ; RUN: llvm-as %s -o /dev/null
      2 
      3 ; Should assemble without error.
      4 
      5 declare void @similar_param_ptrty_callee(i8*)
      6 define void @similar_param_ptrty(i32*) {
      7   musttail call void @similar_param_ptrty_callee(i8* null)
      8   ret void
      9 }
     10 
     11 declare i8* @similar_ret_ptrty_callee()
     12 define i32* @similar_ret_ptrty() {
     13   %v = musttail call i8* @similar_ret_ptrty_callee()
     14   %w = bitcast i8* %v to i32*
     15   ret i32* %w
     16 }
     17