shithub: mc

ref: 905f4d10a78e7e2f6eb849cf373b14cd78c87d73
dir: /test/rvaldotlen.myr/

View raw version
use std

const f1 = { -> byte[:]
	-> [1, 2, 3][:]
}

const f2 = { -> byte[3]
	-> [1, 2, 3]
}


const main = {
	if f1().len != 3
		-> void
	;;
	if f2().len != 3
		-> void
	;;
	std.put("pass\n")
}