shithub: mc

ref: 5f6c72e00d6053baf98563bb53afeb770e648e9d
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
}