shithub: mc

ref: c4b85bb8c16c1a80775985774aabda635b43d694
dir: /test/constslice.myr/

View raw version
use std

const sl = array[1:3]
const array = [1,2,3,4,5]

const main = {
	/* expected output 23 */
	for x in sl
		std.put("%i\n", x)
	;;
	std.put("\n")
}