shithub: mc

ref: fe0bcf756016bd8cad54c1af77f054b94fc8d11b
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))
}