ref: 6804d96d7d8a2dd12e28ea08819fc5f2c59cf724
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))
}