shithub: mc

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