shithub: mc

ref: 7096d0e99d9deb053a7763f49b2b1b7b1df20a6a
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))
}