2009-08-25 23:38:29 +08:00
|
|
|
; RUN: llvm-as %s -o /dev/null
|
2014-08-20 05:08:27 +08:00
|
|
|
; RUN: verify-uselistorder %s
|
2002-05-03 03:12:21 +08:00
|
|
|
; It looks like the assembler is not forward resolving the function declaraion
|
|
|
|
; correctly.
|
|
|
|
|
2008-02-14 15:57:12 +08:00
|
|
|
define void @test() {
|
|
|
|
call void @foo( )
|
|
|
|
ret void
|
|
|
|
}
|
2002-05-03 03:12:21 +08:00
|
|
|
|
2008-02-14 15:57:12 +08:00
|
|
|
declare void @foo()
|