Files
Nim/tests/stdlib/t20023.nim
2023-09-11 16:10:50 +02:00

11 lines
198 B
Nim

import std/[tables, hashes]
let t = ()
var a = toTable({t:t})
del(a,t)
let b = default(typeof(a))
doAssert a==b , "tables are not equal"
doAssert hash(a) == hash(b), "table hashes are not equal"