tillegaltyperecursion3.nim 153 B

1234567891011
  1. discard """
  2. errormsg: "illegal recursion in type 'Weird'"
  3. """
  4. # issue #3456
  5. import tables
  6. type
  7. Weird = ref seq[Weird]
  8. var t = newTable[int, Weird]()