shithub: mc

ref: aee3a905c030959ffcf3b2cc9e2b1b9ba83e1f7d
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)
	std.exit(v castto(int))
}