ref: f16bf0e4f8dd5f23b41cfbfa6c24fd0ab79e6dad
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("{}\n", s)
| _: std.die("Impossible match failure\n")
;;
}