ref: 0c0a9801c0e2b92832a9f91d6a6e7f94e8ba277d
dir: /test/nestucon.myr/
use std
type t = struct
x : union
`Int int
`Str byte[:]
;;
;;
const main = {
var a : t
a = [.x = `Str "asdf"]
match a
| [.x=`Str s]: std.put("%s\n", s)
| _: std.die("Impossible match failure\n")
;;
}