blob: 234545c2936fbc71ecc67c2726ff20215367948a [file] [log] [blame]
Dan Gohman0d4bbf22009-08-25 15:38:29 +00001; RUN: llvm-as %s -o /dev/null
Chris Lattner624fe0b2002-05-02 19:12:21 +00002; It looks like the assembler is not forward resolving the function declaraion
3; correctly.
4
Tanya Lattner5429dbf2008-02-14 07:57:12 +00005define void @test() {
6 call void @foo( )
7 ret void
8}
Chris Lattner624fe0b2002-05-02 19:12:21 +00009
Tanya Lattner5429dbf2008-02-14 07:57:12 +000010declare void @foo()