shithub: mc

ref: 74d91a0021de012908cfdb35fb61a1473a376130
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")
}