ref: 6538ea2c5b4daf1fc325144fbb0c9bc779ba3130
dir: /test/matchnsconst.myr/
use std
const main = {
var v
v = std.Badchar
match v
| std.Maxcharval: std.put("matched maxcharval\n")
| std.Badchar: std.put("matched badchar\n")
| 'c': std.put("matched 'c'\n")
| _: std.die("Impossible match failure in pattern\n")
;;
}