2002-07-25-ReturnPtrFunction.ll 311 B

1234567891011121314
  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. declare void (i32)* @foo()
  7. define void @test() {
  8. call void (i32)* () @foo( ) ; <%ty*>:1 [#uses=0]
  9. ret void
  10. }