shithub: mc

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