shithub: mc

ref: 4d3579d9e03400cc44fca47638454207c86b9fd2
dir: /test/outparam.myr/

View raw version
/* should assign through an out pointer parameter, exiting with status 42 */
const f = {out
	*out = 42
}

const main = {
	var v

	v = 16
	f(&v)
	-> v
}