shithub: mc

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