diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2016-06-23 08:20:16 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2016-06-23 08:20:16 (GMT) |
commit | f05e2297802cbc2f12f67acb22ca3680f36d38c8 (patch) | |
tree | 0c4aafec6a50b5a8c624a647c68791f2bec68ff7 /tests | |
parent | 5cae882ff3da129b6870bfb5b702e27e3f300d9c (diff) | |
download | tcl-f05e2297802cbc2f12f67acb22ca3680f36d38c8.zip tcl-f05e2297802cbc2f12f67acb22ca3680f36d38c8.tar.gz tcl-f05e2297802cbc2f12f67acb22ca3680f36d38c8.tar.bz2 |
[d553228d9f] Stop crashes in [dict update] with low refcount dictionaries.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dict.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/dict.test b/tests/dict.test index d5406d0..a6b0cb4 100644 --- a/tests/dict.test +++ b/tests/dict.test @@ -2048,6 +2048,13 @@ test dict-24.25 {dict map with huge dict (compiled)} { }} 100000 } 166666666600000 +test dict-25.1 {compiled dict update with low-refcount values [Bug d553228d9f]} { + # Test crashes on failure + apply {{} { + lassign {} item + dict update item item item two two {} + }} +} {} # cleanup ::tcltest::cleanupTests |