shithub: mc

ref: 8c6a9b940b85f46056519373fcca1d9aefd49eec
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
}