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