parent
cf5ce7616b
commit
9c52009de6
1 changed files with 7 additions and 0 deletions
7
tests/tuples/t7012.nim
Normal file
7
tests/tuples/t7012.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
discard """
|
||||
errormsg: "illegal recursion in type 'Node'"
|
||||
"""
|
||||
|
||||
type Node[T] = tuple
|
||||
next: ref Node[T]
|
||||
var n: Node[int]
|
||||
Loading…
Add table
Add a link
Reference in a new issue