summaryrefslogtreecommitdiff
path: root/test/Assembler/2002-01-24-BadSymbolTableAssert.ll
blob: 0a10d9db18e35622e4827bf004986eeeb07a7bb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s -o /dev/null -f

; 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.
	
%bb = type i32

declare void @foo(i32)