shithub: mc

ref: 4fc4ebc1ca4f375c6f9b1d8babb53e03da51214f
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
}