shithub: mc

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