Gabor Greif | afb4e8c | 2008-05-20 22:07:21 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as %s -o /dev/null -f |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | |
Tanya Lattner | 74bb9f5 | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 3 | ; This testcase failed due to a bad assertion in SymbolTable.cpp, removed in |
| 4 | ; the 1.20 revision. Basically the symbol table assumed that if there was an |
| 5 | ; abstract type in the symbol table, [in this case for the entry %foo of type |
| 6 | ; void(opaque)* ], that there should have also been named types by now. This |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 7 | ; was obviously not the case here, and this is valid. Assertion disabled. |
Tanya Lattner | 74bb9f5 | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 8 | |
| 9 | %bb = type i32 |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 10 | |
Tanya Lattner | 74bb9f5 | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 11 | declare void @foo(i32) |