Nim/tests/types/tillegaltyperecursion2.nim
2017-10-30 09:19:02 +01:00

8 lines
158 B
Nim

discard """
errormsg: "invalid recursion in type 'Executor'"
line: 8
"""
# bug reported by PR #5637
type
Executor[N] = Executor[N]
var e: Executor[int]