shithub: mc

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