shithub: mc

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