At Chris' suggestion, move the liveness and worklist datastructures into
[oota-llvm.git] / test / Assembler / 2002-05-02-InvalidForwardRef.ll
index 961ae84edfd5c55896045f79515dd656d5fab9c6..00a0a015377676138c10b1d13656da855af5817d 100644 (file)
@@ -1,11 +1,10 @@
+; RUN: llvm-as %s -o /dev/null -f
 ; It looks like the assembler is not forward resolving the function declaraion
 ; correctly.
 
-void "test"()
-begin
-       call void %foo()
-       ret void
-end
-
-declare void "foo"()
+define void @test() {
+        call void @foo( )
+        ret void
+}
 
+declare void @foo()