Files
Nim/tests/tuples/t7012.nim
2021-03-27 10:12:11 -07:00

7 lines
123 B
Nim

discard """
errormsg: "illegal recursion in type 'Node'"
"""
type Node[T] = tuple
next: ref Node[T]
var n: Node[int]