shithub: mc

ref: 3543d66fb1a4bb9ca794a8031fa86579df1f4fb0
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
}