shithub: mc

ref: eea003f1c825e54d8e7c109fd4ecfe503b125b5d
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
}