shithub: mc

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