shithub: mc

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