shithub: mc

ref: 4a1f9034d1e1c0f21a9c677c0b04b61aea3d3121
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 : int32)
	std.exit((v : int))
}