This commit is contained in:
cooldome
2019-12-09 19:03:23 +00:00
committed by Andreas Rumpf
parent e4f7656772
commit 5929c3da21
2 changed files with 14 additions and 0 deletions

View File

@@ -16,3 +16,10 @@ proc test() =
doAssert cast[int](sq1[0].unsafeAddr) != 0
test()
#############################################
### bug 12820
import tables
var t = initTable[string, seq[ptr int]]()
discard t.hasKeyOrPut("f1", @[])