shithub: mc

ref: 3d20a6d5e0c554e9f3d0d3f504f4dfb28901ebb7
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 castto(uint32)
	-> v
}