shithub: mc

ref: 7ef09f3db883c42d01e3b1d80f0d2da6ceff9913
dir: /test/arrayaddr.myr/

View raw version
use std
/* tests taking the address of array elements. should exit with 42. */
const main = {
	var v : int[3]
	var p

	v[1] = 42
	p = &v[1]
	std.exit(p#)
}