llvm-project/llvm/test/Assembler/2002-01-24-BadSymbolTableAs...

12 lines
458 B
LLVM
Raw Normal View History

; RUN: llvm-as %s -o /dev/null
2004-11-07 06:07:09 +08:00
2008-02-14 15:57:12 +08:00
; 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.
2008-02-14 15:57:12 +08:00
%bb = type i32
2008-02-14 15:57:12 +08:00
declare void @foo(i32)