shithub: mc

ref: 81bbd4c2bf2f3b7ccf53d2f46aef65f56e0ae7e5
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))
}