shithub: mc

ref: 66de4498b2b94e9fde735c7c3c1c19e2f5a362ce
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
}