shithub: mc

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