shithub: mc

ref: 23f4bc49055d8a9a28648b1c6e52f24eb4425ddf
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
}