ref: 56c70bd6049b8eb88c7b7ab3636d6c1761fa0008
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")
;;
}