shithub: mc

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