shithub: mc

ref: 1c3ed5fc8e69003a0d91a9976afb40bdc6f525ba
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
}