shithub: mc

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