shithub: mc

ref: 928dd90068c3c8a65d7994e2307a5ddcbb44217a
dir: /test/structlit.myr/

View raw version
type t = struct
	a	: int
	b	: char
	c	: char[,]
;;

const main = {
	var v : t

	v = [.a=42, .b='x', .c="foo"]
	-> v.a
}