shithub: mc

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