shithub: mc

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