ref: bbf152c2fe0b743e8a85ff208f6b19a3d631c78a
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 : char[,]
;;
const main = {
var v : t
v = [.a=42, .b='x', .c="foo"]
-> v.a
}