shithub: mc

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