Taints relaxed loads to enforce load/store ordering
[oota-llvm.git] / test / Assembler / 2002-05-02-InvalidForwardRef.ll
index 8d79e60649a21c17d00bd617583112abaedaa00b..38c42b349a0fa1fbaf526dd9b3fa2f389645aebf 100644 (file)
@@ -1,13 +1,11 @@
-; RUN: llvm-as < %s -o /dev/null -f
-
+; RUN: llvm-as %s -o /dev/null
+; RUN: verify-uselistorder %s
 ; 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()