this test isn't useful since we added @ notation for globals.
[oota-llvm.git] / test / Assembler / 2002-07-25-ReturnPtrFunction.llx
index 354fa54be986e552a5d6bec590484b86ec8c5260..515d105c14c68372567ba89e96b4eac670a01b65 100644 (file)
@@ -3,11 +3,13 @@
 ;
 ; 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
 }
+
+