shithub: mc

ref: 99182bb1ece37aa9bd3c2c5466c650caa10e4d4b
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
}