shithub: mc

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