Nim/tests/ccgbugs/trecursive_closure.nim
2015-02-28 23:53:52 +01:00

8 lines
105 B
Nim

# bug #2233
type MalType = object
fun: proc: MalType
proc f(x: proc: MalType) =
discard x()
f(nil)