ref: a06e3f0e2fa3b5ac2db92dff852d87af34dc17d3
dir: /test/trunccast.myr/
use std
/* should truncate y when casting to x, exiting with status 15 */
const main = {
var x : int8
var y : int32
y = 9999
x = y castto(int8)
std.exit((x % 73) castto(int))
}