shithub: mc

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