summaryrefslogtreecommitdiff
path: root/test/diagnostics/count-down-loop.lua
blob: f4e385f5d7fe081c84a840db4d72f58eaef1061d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
TEST [[
for i = <!10, 1!> do
    print(i)
end
]]

TEST [[
for i = <!10, 1, 5!> do
    print(i)
end
]]

TEST [[
for i = <!100, 10, 1!> do
    print(i)
end
]]

TEST [[
for i = <!1, -10!> do
    print(i)
end
]]

TEST [[
for i = 1, 1 do
    print(i)
end
]]