summaryrefslogtreecommitdiff
path: root/server-beta/test/references/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/test/references/init.lua')
-rw-r--r--server-beta/test/references/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/server-beta/test/references/init.lua b/server-beta/test/references/init.lua
index e009ee19..327f4789 100644
--- a/server-beta/test/references/init.lua
+++ b/server-beta/test/references/init.lua
@@ -71,6 +71,14 @@ end
]]
TEST [[
+:: <?LABEL?> ::
+goto <!LABEL!>
+if true then
+ goto <!LABEL!>
+end
+]]
+
+TEST [[
local a = 1
local <?a?> = 1
<!a!> = <!a!>