7 lines
No EOL
123 B
Nim
7 lines
No EOL
123 B
Nim
discard """
|
|
errormsg: "illegal recursion in type 'Node'"
|
|
"""
|
|
|
|
type Node[T] = tuple
|
|
next: ref Node[T]
|
|
var n: Node[int] |