diff options
author | dgp <dgp@users.sourceforge.net> | 2013-09-19 14:22:37 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-09-19 14:22:37 (GMT) |
commit | bd33f7aed8365be64ec2ffde4950fac52695a0e6 (patch) | |
tree | 05562337d2bb1336e76c6bc70c52d8db2521542e /tests | |
parent | b9d177cec41c6ca4abcb019b38e7da7739ded8e7 (diff) | |
parent | 071c731c5e45080a89c03c7ae74ec6acf4df59c2 (diff) | |
download | tcl-bd33f7aed8365be64ec2ffde4950fac52695a0e6.zip tcl-bd33f7aed8365be64ec2ffde4950fac52695a0e6.tar.gz tcl-bd33f7aed8365be64ec2ffde4950fac52695a0e6.tar.bz2 |
Stop segfault due to OBOE in CompileWord() calls in [dict incr] compiler.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dict.test | 5 |
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)} { |