blob: cb8abdf1b4e5eecb2861c6e06ffc2abfa779707a [file] [log] [blame]
Dan Gohman0d4bbf22009-08-25 15:38:29 +00001; RUN: llvm-as %s -o /dev/null
Duncan P. N. Exon Smith852e00e2014-07-31 18:46:24 +00002; RUN: verify-uselistorder %s -preserve-bc-use-list-order
Chris Lattner624fe0b2002-05-02 19:12:21 +00003; It looks like the assembler is not forward resolving the function declaraion
4; correctly.
5
Tanya Lattner5429dbf2008-02-14 07:57:12 +00006define void @test() {
7 call void @foo( )
8 ret void
9}
Chris Lattner624fe0b2002-05-02 19:12:21 +000010
Tanya Lattner5429dbf2008-02-14 07:57:12 +000011declare void @foo()