shithub: mc

ref: e1b5f8f8dee7eba58fe610a2b18a7f3bb80c6ede
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]
	-> p#
}