shithub: mc

ref: 1ba0be918be8f606f8ee165eefc6c43be2fd3f0c
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
}