shithub: mc

ref: 85b45ea79140abbf66a2a3c1c7a89476697c8654
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)
	-> v
}