summary refs log blame commit diff stats
path: root/tests/ccgbugs/trecursive_closure.nim
blob: 50c363a4a40be1db2c8b602c0b76c9973f5730d0 (plain) (tree)
1
2
3
4
5
6
7
8







                          
# bug #2233
type MalType = object
  fun: proc: MalType

proc f(x: proc: MalType) =
  discard x()

f(nil)