shithub: mc

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