shithub: mc

ref: 78778360e002afa56e02847d22b283d2ace56a88
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)
}