summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitf5a507d009afa7ff89787de5b139fe8d266abb27 (patch)
tree8d9056d2d2f669a508851fd0b5eb447e01667532 /llvm
parent36faf3a99cb1688c6abac3ec9f28c6eb3dd65af0 (diff)
downloadbcm5719-llvm-f5a507d009afa7ff89787de5b139fe8d266abb27.tar.gz
bcm5719-llvm-f5a507d009afa7ff89787de5b139fe8d266abb27.zip
Testcase for SymbolTable.cpp bug
llvm-svn: 1584
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Regression/Assembler/2002-01-24-BadSymbolTableAssert.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/Regression/Assembler/2002-01-24-BadSymbolTableAssert.ll b/llvm/test/Regression/Assembler/2002-01-24-BadSymbolTableAssert.ll
new file mode 100644
index 00000000000..d1af3a1549a
--- /dev/null
+++ b/llvm/test/Regression/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
+
OpenPOWER on IntegriCloud