shithub: mc

ref: 66a472dc689c3a7b2b8f077fdf01c0dc2fdc1f7d
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))
}