X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2002-05-02-InvalidForwardRef.ll;h=38c42b349a0fa1fbaf526dd9b3fa2f389645aebf;hb=9f8d4037a61e8e99738a3fe6a188ebefc8cda2c7;hp=961ae84edfd5c55896045f79515dd656d5fab9c6;hpb=7dd79b6a62d762d8872252577e223b2a41bdef7b;p=oota-llvm.git diff --git a/test/Assembler/2002-05-02-InvalidForwardRef.ll b/test/Assembler/2002-05-02-InvalidForwardRef.ll index 961ae84edfd..38c42b349a0 100644 --- a/test/Assembler/2002-05-02-InvalidForwardRef.ll +++ b/test/Assembler/2002-05-02-InvalidForwardRef.ll @@ -1,11 +1,11 @@ +; 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()