shithub: mc

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