shithub: mc

ref: 67bd2a9810f0891b26ed05830a565fa452aa04da
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
}