shithub: mc

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