shithub: mc

ref: 916167a53d09c9852020c5c75bfe2fe6744ddb0a
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
}