ref: e119045a1d483c7dc7808c140a3659e41b9d160b
dir: /test/structlit.myr/
/* checks that we can create struct literals with named initializers.
exits with 42. */
type t = struct
a : int
b : char
c : byte[:]
;;
const main = {
var v : t
v = [.a=42, .b='x', .c="foo"]
-> v.a
}