IR: Split Metadata from Value
[oota-llvm.git] / test / Assembler / 2002-07-25-ReturnPtrFunction.ll
index 515d105c14c68372567ba89e96b4eac670a01b65..fdee93c1ca70bf5f8fe769e377a8179324974432 100644 (file)
@@ -2,13 +2,12 @@
 ; the right thing.
 ;
 ; RUN: llvm-as < %s | llvm-dis | llvm-as
+; RUN: verify-uselistorder %s
 
-%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
 }