shithub: mc

ref: 78778360e002afa56e02847d22b283d2ace56a88
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
}