shithub: mc

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