blob: 00a0a015377676138c10b1d13656da855af5817d [file] [log] [blame]
Gabor Greifafb4e8c2008-05-20 22:07:21 +00001; RUN: llvm-as %s -o /dev/null -f
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002; It looks like the assembler is not forward resolving the function declaraion
3; correctly.
4
Tanya Lattner74bb9f52008-02-14 07:57:12 +00005define void @test() {
6 call void @foo( )
7 ret void
8}
Dan Gohmanf17a25c2007-07-18 16:29:46 +00009
Tanya Lattner74bb9f52008-02-14 07:57:12 +000010declare void @foo()