shithub: mc

ref: 0b419bf55a006dcee16bd9f50a4f8ec807437ce4
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
}