summaryrefslogtreecommitdiff
path: root/test/definition/label.lua
blob: 4859d70efb021def7a731c1b00ca745969ce0e88 (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 [[
::<!LABEL!>::
goto <?LABEL?>
]]

TEST [[
goto <?LABEL?>
::<!LABEL!>::
]]

TEST [[
::LABEL::
function _()
    goto <?LABEL?>
end
]]

TEST [[
do
    goto <?LABEL?>
end
::<!LABEL!>::
]]

TEST [[
::<!LABEL!>::
goto <?LABEL?>
::<!LABEL!>::
]]