shithub: mc

ref: 8e8131e3e7dbc21f60631a80ad3e638df80661ae
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
}