shithub: mc

ref: 84dc4bb3cb9d70c182341918e91aa5ffc0af2e15
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
}