shithub: mc

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