shithub: mc

ref: bd389067cb68d0d7b4c55db95f1b8021f1d95524
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
}