ref: 37b4b23c2e9e86a899676afc82f52521a2e30ad8
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)
}