AsmParser: Save and restore the parsing state for types using SlotMapping.
[oota-llvm.git] / test / Assembler / 2002-05-02-InvalidForwardRef.ll
1 ; RUN: llvm-as %s -o /dev/null
2 ; RUN: verify-uselistorder %s
3 ; It looks like the assembler is not forward resolving the function declaraion
4 ; correctly.
5
6 define void @test() {
7         call void @foo( )
8         ret void
9 }
10
11 declare void @foo()