shithub: mc

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