shithub: mc

ref: 3250653e1a127a7052b775ad8508dcd3adaf3ee5
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
}