shithub: mc

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