For PR780:
[oota-llvm.git] / test / Assembler / 2002-01-24-BadSymbolTableAssert.ll
1 ; RUN: llvm-as < %s -o /dev/null -f
2
3 ; This testcase failed due to a bad assertion in SymbolTable.cpp, removed in the 1.20 revision
4 ; Basically the symbol table assumed that if there was an abstract type in the symbol table,
5 ; [in this case for the entry %foo of type void(opaque)* ], that there should have also been
6 ; named types by now.  This was obviously not the case here, and this is valid.  Assertion
7 ; disabled.
8
9 declare void "foo"(%bb)
10 %bb = type int 
11
12 implementation
13