shithub: mc

ref: 2b4d970882a1d12750a4055e3f9eff5472c3abc1
dir: /test/struct.myr/

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

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