shithub: mc

ref: 2cccc2b8dcb96674c1e3f7bf956e9a7a05d60df0
dir: /test/ptrpreinc.myr/

View raw version
use std
/* should preincrement through a pointer, exiting with status 9 */
const ppreinc = {p
	-> ++p#
}

const main = {
	var x = 8

	std.exit(ppreinc(&x))
}