shithub: mc

ref: 00963a8a8348d7ef25eaa31cf4b0b4a3cc4036d3
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))
}