ref: 36232a98d2ebeb42a853493aafab51777a3f0081
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
}