New testcase for bug
[oota-llvm.git] / test / Assembler / 2002-07-25-ReturnPtrFunction.llx
1 ; Test that returning a pointer to a function causes the disassembler to print 
2 ; the right thing.
3 ;
4 ; RUN: as < %s | dis | as
5
6 %ty = type void (int)
7
8 declare %ty* %foo()
9
10 void %test() {
11         call %ty*()* %foo()
12         ret void
13 }