shithub: mc

ref: 4a1f9034d1e1c0f21a9c677c0b04b61aea3d3121
dir: /test/zwidencast.myr/

View raw version
use std
/* should zero-extend u when casting to v, returning 99 */
const main = {
	var u : uint8
	var v : uint32
	
	u = 99
	v = (u : uint32)
	std.exit((v : int))
}