shithub: mc

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