ref: c2c3ff71512cd26f452ff6f97a167393c0ccec9f
dir: /test/catfile.myr/
/* checks that we can read a data file. */
use std
const main = {args : byte[:][:]
var r
r = std.slurp("data/catfile")
match r
`std.Success dat: std.write(1, dat);;
`std.Failure msg: std.put("Failed to read file: %s\n", msg);;
;;
-> 0
}