shithub: mc

ref: 5fc8fe7bec594a98c7a2b9fbdfc5f7fb4f11c7c9
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))
}