t20023.nim 210 B

1234567891011
  1. import std/[tables, hashes, assertions]
  2. let t = ()
  3. var a = toTable({t:t})
  4. del(a,t)
  5. let b = default(typeof(a))
  6. doAssert a==b , "tables are not equal"
  7. doAssert hash(a) == hash(b), "table hashes are not equal"