heptagon/test/good/const_record.ept
Gwenaël Delaval db5524df3f Tests addition
2017-05-23 22:10:39 +02:00

9 lines
145 B
Plaintext

type record = { a : int; b : int }
const a : record = { a = 0; b = 1 }
const b : record^2 = [a, a]
node main() = (o:int)
let
o = (b[0]).a
tel