Land the long talked about "type system rewrite" patch. This
[llvm/stm8.git] / test / Assembler / 2002-07-25-ReturnPtrFunction.ll
blob6988fad8398e67559216753a4562fc22502bc0a4
1 ; Test that returning a pointer to a function causes the disassembler to print 
2 ; the right thing.
4 ; RUN: llvm-as < %s | llvm-dis | llvm-as
6 declare void (i32)* @foo()
8 define void @test() {
9         call void (i32)* ()* @foo( )           ; <%ty*>:1 [#uses=0]
10         ret void