blob: 234545c2936fbc71ecc67c2726ff20215367948a [file] [log] [blame]
Dan Gohman2d65d352009-08-25 15:38:29 +00001; RUN: llvm-as %s -o /dev/null
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()