shithub: mc

ref: 1600ea3f806c5d4ce9f6e1d73abf7b48ef43a2c0
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
}