shithub: mc

ref: 857f6990c4a840a8ab4808962b9680d8057f14d7
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
}