shithub: mc

ref: 3303b2c61b4381500b39b1d3ce6f95b9a21ed4f4
dir: /test/outparam.myr/

View raw version
use std
/* should assign through an out pointer parameter, exiting with status 42 */
const f = {out
	out# = 42
}

const main = {
	var v

	v = 16
	f(&v)
	std.exit(v)
}