shithub: mc

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