shithub: mc

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