summaryrefslogtreecommitdiffstats
path: root/tests/oo.test
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2016-01-23 20:28:19 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2016-01-23 20:28:19 (GMT)
commit1acb0742e2003b2986c75a8f0967b7a7fdd5d661 (patch)
tree17e6862de7202f1e8aa203b4d9ce71e48c3abd01 /tests/oo.test
parentd8bdd23bc64b9a515924bf2f8c38345a1ee46c0a (diff)
parent095b587df14e39ec71e1f4a638516f371c8ce861 (diff)
downloadtcl-1acb0742e2003b2986c75a8f0967b7a7fdd5d661.zip
tcl-1acb0742e2003b2986c75a8f0967b7a7fdd5d661.tar.gz
tcl-1acb0742e2003b2986c75a8f0967b7a7fdd5d661.tar.bz2
merge
Diffstat (limited to 'tests/oo.test')
-rw-r--r--tests/oo.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/oo.test b/tests/oo.test
index 332395d..d6b29bb 100644
--- a/tests/oo.test
+++ b/tests/oo.test
@@ -3671,6 +3671,19 @@ test oo-35.2 {Bug 9d61624b3d: Empty superclass must not cause crash} -setup {
unset -nocomplain result
fruitMetaclass destroy
} -result {::appleClass ::orange ::oo::class ::oo::class 1 1 ::appleClass ::pear}
+test oo-35.3 {Bug 593baa032c: superclass list teardown} {
+ # Bug makes this crash, especially with mem-debugging on
+ oo::class create B {}
+ oo::class create D {superclass B}
+ namespace eval [info object namespace D] [list [namespace which B] destroy]
+} {}
+test oo-35.4 {Bug 593baa032c: mixins list teardown} {
+ # Bug makes this crash, especially with mem-debugging on
+ oo::class create B {}
+ oo::class create D {mixin B}
+ namespace eval [info object namespace D] [list [namespace which B] destroy]
+} {}
+
cleanupTests
return