Remove llvm-upgrade
[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: llvm-as < %s | llvm-dis | llvm-as
5
6 %ty = type void (i32)
7
8 declare %ty* @foo()
9
10 define void @test() {
11         call %ty* ()* @foo( )           ; <%ty*>:1 [#uses=0]
12         ret void
13 }
14
15