shithub: mc

ref: f2365d327bed87e68d94b9b458cf27b70efc9f4b
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
}