shithub: mc

ref: b4074b239d8dda2fccc500ee1467ed21987938e9
dir: /test/derefassign.myr/

View raw version
use std
/* should assign to v through pointer p, exiting with 123 */
const main = {
	var p
	var v

	v = 0
	p = &v
	p# = 123
	std.exit(v)
}