shithub: mc

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