shithub: mc

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