ref: b33ad4ba9ef23d2dbeec7fcd895d80c1c7d45026
dir: /test/structasn.myr/
/* tests block assignment of structs. exits with 42.*/
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
}