shithub: mc

ref: 5e4f828e9c606506708012a606d5fee50269a2c5
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
}