shithub: mc

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