shithub: mc

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