ref: 13a8561e53b259ab1bd6592df857b7a59b7a2a2b 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) }