shithub: mc

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