summaryrefslogtreecommitdiffstats
path: root/test/test2.t
blob: 8a19e95156ce67ad8a760f0d1929cc847042ccd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
fun main[]
	sum = 0
	i = (sum + 10) * 5
	while (i + 3 < 10)
		sum = sum + call fib[i]
		i = i + 1
	end
	@sum
end