shithub: mc

ref: 5cf89f06e6dc31901b495ad16adc1cd93f586ebf
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
}