At Chris' suggestion, move the liveness and worklist datastructures into
[oota-llvm.git] / test / Linker / 2003-08-28-TypeResolvesGlobal.ll
index 5e90682dc194750cfbd99e4e5ec3c24a57720993..5526b87ce77df5907c0882e961a290b3ecc19314 100644 (file)
@@ -1,12 +1,12 @@
-; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
-; RUN: echo "%S = type int" | llvm-upgrade | llvm-as > %t.out2.bc
-; RUN: llvm-link %t.out[21].bc
+; RUN: llvm-as < %s > %t.out1.bc
+; RUN: echo "%S = type i32" | llvm-as > %t.out2.bc
+; RUN: llvm-link %t.out2.bc %t.out1.bc
 
 %S = type opaque
 
-void %foo(int* %V) {
-  ret void
+define void @foo(i32* %V) {
+       ret void
 }
 
-declare void %foo(%S*)
+declare void @foo.upgrd.1(%S*)