shithub: mc

ref: e686640da8441d0cae0e45d5d6ef9f96c45a8e24
dir: /test/foldidx.myr/

View raw version
use std

type xy = struct
	x : int
	y : int
;;
const X = 123
const Y = 456
const z : xy[1] = [
	[.x = X, .y = Y]
]

const main = {
	std.put("%i,%i\n", z[0].x, z[0].y)
}