ref: a7c11c4d0a52661a299a90b47d9a68be8e11312f
dir: /test/struct.myr/
use std
/* test reading and writing to struct members. exits with 42. */
type pair = struct
a : int
b : int
;;
const main = {
var s : pair
s.a = 12
s.b = 30
std.exit(s.a + s.b)
}