shithub: mc

ref: e7cdf11aa8b4f3bd6f0b6fbda975b38c93cc3d99
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
}