shithub: mc

ref: 0f3f41fae775b2647cd0cdaf0a9ef395c19b9878
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")
}