blob: b2a48f5568932e3156e39bfae86a1c0539118b7c [file] [log] [blame]
Gabor Greifafb4e8c2008-05-20 22:07:21 +00001; RUN: llvm-as %s -o /dev/null -f
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
Tanya Lattner74bb9f52008-02-14 07:57:12 +00003; 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 Gohmanf17a25c2007-07-18 16:29:46 +00007; was obviously not the case here, and this is valid. Assertion disabled.
Tanya Lattner74bb9f52008-02-14 07:57:12 +00008
9%bb = type i32
Dan Gohmanf17a25c2007-07-18 16:29:46 +000010
Tanya Lattner74bb9f52008-02-14 07:57:12 +000011declare void @foo(i32)