blob: 38c42b349a0fa1fbaf526dd9b3fa2f389645aebf [file] [log] [blame]
Dan Gohman0d4bbf22009-08-25 15:38:29 +00001; RUN: llvm-as %s -o /dev/null
Duncan P. N. Exon Smithc8eccd12014-08-19 21:08:27 +00002; RUN: verify-uselistorder %s
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()