shithub: mc

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