shithub: mc

ref: 0c8a7503f3d207bdfe8b8a5216fa88e6e2916b08
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]
}