shithub: mc

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