shithub: mc

ref: 10c0307e860d4f1ff9f9f2db67aa1fa4858bfaaa
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)
}