shithub: mc

ref: 3a45cf391fee2805331c88d6947f3bdbd8689478
dir: /test/swidencast.myr/

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