ref: 02f19e5b2e6a94199d6eb9a97417e1feb3b2d0aa
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")
;;
}