Testcase for SymbolTable.cpp bug

llvm-svn: 1584
This commit is contained in:
Chris Lattner 2002-01-25 03:58:05 +00:00
parent 36faf3a99c
commit f5a507d009
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
; This testcase failed due to a bad assertion in SymbolTable.cpp, removed in the 1.20 revision
; Basically the symbol table assumed that if there was an abstract type in the symbol table,
; [in this case for the entry %foo of type void(opaque)* ], that there should have also been
; named types by now. This was obviously not the case here, and this is valid. Assertion
; disabled.
declare void "foo"(%bb)
%bb = type int
implementation