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