shithub: mc

ref: 49363e8c29d389213f4700a9bf9b584a6fd4a139
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
}