shithub: mc

ref: 10639872d6c832f4215fca9f5d33a90b59d8021f
dir: /test/swidencast.myr/

View raw version
use std
/* sign extending cast. should exit with status 99 */
const main = {
	var u : int8
	var v : int32
	
	u = 99
	v = u castto(int32)
	std.exit(v castto(int))
}