shithub: mc

ref: 2a3b64a5642729ab3bf83a21ea6bf59fc2a88f2c
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
}