shithub: mc

ref: 75e55c54a0e4f7322f5ab83a22c5b1025069e92e
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
}