parent
a6ba3116b2
commit
6f7f043c9b
2 changed files with 15 additions and 4 deletions
10
tests/types/tillegaltyperecursion3.nim
Normal file
10
tests/types/tillegaltyperecursion3.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
errormsg: "illegal recursion in type 'Weird'"
|
||||
"""
|
||||
|
||||
# issue #3456
|
||||
|
||||
import tables
|
||||
type
|
||||
Weird = ref seq[Weird]
|
||||
var t = newTable[int, Weird]()
|
||||
Loading…
Add table
Add a link
Reference in a new issue