ref: 682b8ca1e799b4ae78418b0c94e46b6077b45b5a
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
std.exit(y.a + y.b)
}