shithub: mc

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