this test isn't useful since we added @ notation for globals.
[oota-llvm.git] / test / Assembler / 2002-07-25-ReturnPtrFunction.llx
index ea408600429c040a477009554b388e21b1c2ef4b..515d105c14c68372567ba89e96b4eac670a01b65 100644 (file)
@@ -1,13 +1,15 @@
 ; Test that returning a pointer to a function causes the disassembler to print 
 ; the right thing.
 ;
-; RUN: as < %s | dis | as
+; RUN: llvm-as < %s | llvm-dis | llvm-as
 
-%ty = type void (int)
+%ty = type void (i32)
 
-declare %ty* %foo()
+declare %ty* @foo()
 
-void %test() {
-       call %ty*()* %foo()
-       ret void
+define void @test() {
+        call %ty* ()* @foo( )           ; <%ty*>:1 [#uses=0]
+        ret void
 }
+
+