shithub: mc

ref: 9ab2a5a2a341794f93df6aee3859c90bbae3a9b0
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
}