ref: 01c7435a00df771e724b857fc4d5d5c2c0730734
dir: /test/structasn.myr/
use std
/* 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
}