added test case for #2107
This commit is contained in:
parent
49dcf0658b
commit
1c88d26ebf
1 changed files with 10 additions and 0 deletions
|
|
@ -16,5 +16,15 @@ proc run1() = # occupied Memory stays constant, but
|
|||
for i in 1 .. 50: # aborts at run: 44 on win32 with 3.2GB with out of memory
|
||||
TestHashIntInt()
|
||||
|
||||
# bug #2107
|
||||
|
||||
var delTab = initTable[int,int](4)
|
||||
|
||||
for i in 1..4:
|
||||
delTab[i] = i
|
||||
delTab.del(i)
|
||||
delTab[5] = 5
|
||||
|
||||
|
||||
run1()
|
||||
echo "true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue