shithub: mc

ref: 0095f1e8fd2039ed250656ef5e7d728c42c8ec1e
dir: /test/structarray.myr/

View raw version
type t = struct
	a : int[42]
;;

const main = {
	var v : t

	v.a[0] = 12
	v.a[1] = 20

	-> 2*v.a[0] + v.a[1]
}