summaryrefslogtreecommitdiffstats
path: root/tests/error.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2014-09-14 16:51:49 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2014-09-14 16:51:49 (GMT)
commit271b5469d26171f90501fd3dc1eea1bf2bd83b08 (patch)
tree390fd760e66cc765b1400f22af69dc5ef2a00f66 /tests/error.test
parentbbf5dede141290a90faaa2bbf2e8abba59d33c04 (diff)
parent7e17c358eb7a149fbec81f4c2e5d1adefcc90bdd (diff)
downloadtcl-271b5469d26171f90501fd3dc1eea1bf2bd83b08.zip
tcl-271b5469d26171f90501fd3dc1eea1bf2bd83b08.tar.gz
tcl-271b5469d26171f90501fd3dc1eea1bf2bd83b08.tar.bz2
merge trunk
Diffstat (limited to 'tests/error.test')
-rw-r--r--tests/error.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/error.test b/tests/error.test
index 0de644c..af07ed7 100644
--- a/tests/error.test
+++ b/tests/error.test
@@ -1184,6 +1184,12 @@ test error-21.8 {memory leaks in try: Bug 2910044} memory {
}
} 0
+test error-21.9 {Bug cee90e4e88} {
+ # Just don't panic.
+ apply {{} {try {} on ok {} - on return {} {}}}
+} {}
+
+
# negative case try tests - bad "trap" handler
# what is the effect if we attempt to trap an errorcode that is not a list?
# nested try