Files
Nim/tests/ccgbugs/trecursive_table.nim
2015-03-24 23:07:19 +01:00

18 lines
193 B
Nim

# bug #1700
import tables
type
E* = enum
eX
eY
T* = object
case kind: E
of eX:
xVal: Table[string, T]
of eY:
nil
proc p*(x: Table[string, T]) =
discard