shithub: mc

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