blob: 8203365c1c4671ca0b7c8f4d3b129b4730e69996 [file] [log] [blame]
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00001; RUN: llvm-as < %s -o /dev/null -f
Chris Lattner7dd79b62002-05-02 19:12:21 +00002; It looks like the assembler is not forward resolving the function declaraion
3; correctly.
4
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00005define void @test() {
6 call void @foo( )
7 ret void
8}
Chris Lattner7dd79b62002-05-02 19:12:21 +00009
Tanya Lattner6e9bcee2008-02-14 07:57:12 +000010declare void @foo()