shithub: mc

ref: f16eddc8b5b4c20a4aef509d3b9f69ef83b49b4c
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
}