shithub: mc

ref: 94e28af38c7cac02c5b592dbbb3d6205d37cb2f2
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
}