shithub: mc

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