Extend the IL for selecting TLS models (PR9788)
[oota-llvm.git] / test / Assembler / 2002-07-25-ReturnPtrFunction.ll
index 515d105c14c68372567ba89e96b4eac670a01b65..6988fad8398e67559216753a4562fc22502bc0a4 100644 (file)
@@ -3,12 +3,10 @@
 ;
 ; RUN: llvm-as < %s | llvm-dis | llvm-as
 
-%ty = type void (i32)
-
-declare %ty* @foo()
+declare void (i32)* @foo()
 
 define void @test() {
-        call %ty* ()* @foo( )           ; <%ty*>:1 [#uses=0]
+        call void (i32)* ()* @foo( )           ; <%ty*>:1 [#uses=0]
         ret void
 }