xref: /llvm-project/llvm/test/Assembler/2002-07-25-ReturnPtrFunction.ll (revision 75a479221b72c8b4827470485949cebf67d1c967)
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
7declare ptr @foo()
8
9define void @test() {
10        call ptr () @foo( )           ; <ptr>:1 [#uses=0]
11        ret void
12}
13
14
15