shithub: mc

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