shithub: mc

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