shithub: mc

ref: 019c09f1c3d0d04dc60ba01b0a51e59d5b4fdcaa
dir: /test/structarray.myr/

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

const main = {
	var v : t

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

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