shithub: mc

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