Home | History | Annotate | Download | only in Assembler
      1 ; Test that returning a pointer to a function causes the disassembler to print 
      2 ; the right thing.
      3 ;
      4 ; RUN: llvm-as < %s | llvm-dis | llvm-as
      5 ; RUN: verify-uselistorder %s
      6 
      7 declare void (i32)* @foo()
      8 
      9 define void @test() {
     10         call void (i32)* () @foo( )           ; <%ty*>:1 [#uses=0]
     11         ret void
     12 }
     13 
     14 
     15