shithub: mc

ref: 543887f46d1d7796bd8f1e6d329401197b19ec56
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

	-> ppreinc(&x)
}