shithub: mc

ref: 89c49739f36b4e8fa6f1eaa0e506e1f67900e8e5
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
}