Initial import
This commit is contained in:
commit
405b86068e
324 changed files with 163599 additions and 0 deletions
15
tests/trectype.nim
Executable file
15
tests/trectype.nim
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
# Test recursive type descriptions
|
||||
# (mainly for the C code generator)
|
||||
|
||||
type
|
||||
PA = ref TA
|
||||
TA = array [0..2, PA]
|
||||
|
||||
PRec = ref TRec
|
||||
TRec = record
|
||||
a, b: TA
|
||||
|
||||
P1 = ref T1
|
||||
PB = ref TB
|
||||
TB = array [0..3, P1]
|
||||
T1 = array [0..6, PB]
|
||||
Loading…
Add table
Add a link
Reference in a new issue