blob: 7c49e2bd99358e035bcbebf7a7fa9746c5fe0d5f [file] [log] [blame]
Dan Gohman2d65d352009-08-25 15:38:29 +00001; RUN: llvm-as %s -o /dev/null
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)