shithub: mc

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