aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-25 03:58:05 +0000
committerChris Lattner <sabre@nondot.org>2002-01-25 03:58:05 +0000
commit212231824052de891bb5c2dfd42345e13a7ba0e5 (patch)
tree0bbd4abe241d5f149a7bdc86a481f18411a9cbba /test
parentd71cc4b518672d3b7a5d34e6bc62c3eab782c751 (diff)
downloadexternal_llvm-212231824052de891bb5c2dfd42345e13a7ba0e5.zip
external_llvm-212231824052de891bb5c2dfd42345e13a7ba0e5.tar.gz
external_llvm-212231824052de891bb5c2dfd42345e13a7ba0e5.tar.bz2
Testcase for SymbolTable.cpp bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Assembler/2002-01-24-BadSymbolTableAssert.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Assembler/2002-01-24-BadSymbolTableAssert.ll b/test/Assembler/2002-01-24-BadSymbolTableAssert.ll
new file mode 100644
index 0000000..d1af3a1
--- /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
+