shithub: mc

ref: 8b1cf3fd57e7c94f6c162027e440ceb3e50ee50f
dir: /test/structasn.myr/

View raw version
type pair = struct
	a : int
	b : int
;;

const main = {
	var x : pair
	var y : pair
	x.a = 12
	x.b = 30
	y = x
	-> y.a + y.b
}