shithub: mc

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