summaryrefslogtreecommitdiff
path: root/test/subrangefor.myr
blob: 0a3acc4b43810137705224f3b8ddba90bda68b3e (plain)
1
2
3
4
5
6
7
8
use std

const main = {
	for i in [1,2,3,4][:2]
		std.put("%i", i)
	;;
	std.put("\n")
}