shithub: mc

ref: 36d7c7517cb0a12a0d6ae69b1538dd5a008b07b7
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]
}