X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2002-01-24-BadSymbolTableAssert.ll;h=b2a48f5568932e3156e39bfae86a1c0539118b7c;hb=84701836bfb1889e2e26e361ebd5d29d972ab396;hp=d1af3a1549a5daa0fd5cbfbcadaa0d975b375885;hpb=212231824052de891bb5c2dfd42345e13a7ba0e5;p=oota-llvm.git diff --git a/test/Assembler/2002-01-24-BadSymbolTableAssert.ll b/test/Assembler/2002-01-24-BadSymbolTableAssert.ll index d1af3a1549a..b2a48f55689 100644 --- a/test/Assembler/2002-01-24-BadSymbolTableAssert.ll +++ b/test/Assembler/2002-01-24-BadSymbolTableAssert.ll @@ -1,11 +1,11 @@ -; 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. +; RUN: llvm-as %s -o /dev/null -f -declare void "foo"(%bb) -%bb = type int - -implementation +; 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)