summaryrefslogtreecommitdiff
path: root/server/test/diagnostics
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/diagnostics')
-rw-r--r--server/test/diagnostics/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index 9d9c7424..5fb34908 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -142,3 +142,11 @@ return [[
]]
]=]
+
+TEST [[
+local mt, x
+function mt:m()
+ function x:m()
+ end
+end
+]]