shithub: mc

ref: 0b419bf55a006dcee16bd9f50a4f8ec807437ce4
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
}