shithub: mc

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