shithub: mc

ref: 5237b3b3f383bb9ef0e6a5defb66dbef7e19d55e
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
}