summaryrefslogtreecommitdiff
path: root/script-beta/test/definition/label.lua
blob: 205915b6411566750c9c3f7a21a7c35ec9d50214 (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!>::
]]