From 212231824052de891bb5c2dfd42345e13a7ba0e5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 25 Jan 2002 03:58:05 +0000 Subject: [PATCH] Testcase for SymbolTable.cpp bug git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1584 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/2002-01-24-BadSymbolTableAssert.ll | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/Assembler/2002-01-24-BadSymbolTableAssert.ll diff --git a/test/Assembler/2002-01-24-BadSymbolTableAssert.ll b/test/Assembler/2002-01-24-BadSymbolTableAssert.ll new file mode 100644 index 00000000000..d1af3a1549a --- /dev/null +++ b/test/Assembler/2002-01-24-BadSymbolTableAssert.ll @@ -0,0 +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. + +declare void "foo"(%bb) +%bb = type int + +implementation +