shithub: mc

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