shithub: mc

ref: 4d0895a4c80d5db3fe2c304b0820cb724d9ac0c3
dir: /test/trunccast.myr/

View raw version
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)
	-> x % 73
}