shithub: mc

ref: 7541780143bee3d4fbb18f4d9c4fea2c29f1587a
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
}