shithub: mc

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