ref: 3dc71f6baaf6ff6a7e5a41fd89ea3ec2c7bdf88c
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
}