shithub: mc

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