summaryrefslogtreecommitdiffstats
path: root/tests/dict.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dict.test')
-rw-r--r--tests/dict.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dict.test b/tests/dict.test
index 3658581..1b1fc31 100644
--- a/tests/dict.test
+++ b/tests/dict.test
@@ -1876,6 +1876,11 @@ test dict-23.4 {CompileWord OBOE} {
} [return [incr n -[linenumber]]] val
}} [linenumber]
} 1
+test dict-23.5 {CompileWord OBOE} {
+ # segfault when buggy
+ apply {{} {tcl::dict::incr foo \
+ [format bar]}}
+} {bar 1}
rename linenumber {}
test dict-24.22 {dict map results (non-compiled)} {