shithub: mc

ref: 5778299b7291336a05a50d7387d99c9f28013937
dir: /test/callbig.myr/

View raw version
type pair = struct
	a : int
	b : int
;;

const f = {s
	-> s.a  + s.b
}

const main = {
	var s : pair
	s.a = 12
	s.b = 30
	-> f(s)
}