shithub: mc

ref: 47e2fe4b898f4260414f84424929d8a7e09cd021
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
}