shithub: mc

ref: 10c5a7f3c6bd6d8c52a42f3d7ffb64eed6edf677
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))
}