Initial import
This commit is contained in:
commit
405b86068e
324 changed files with 163599 additions and 0 deletions
12
tests/tillrec.nim
Executable file
12
tests/tillrec.nim
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
# test illegal recursive types
|
||||
|
||||
type
|
||||
TLegal = record
|
||||
x: int
|
||||
kids: seq[TLegal]
|
||||
|
||||
TIllegal = record
|
||||
y: Int
|
||||
x: array[0..3, TIllegal]
|
||||
#ERROR_MSG illegal recursion in type 'TIllegal'
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue