shithub: mc

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