summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 0f15c1d6..be83ac96 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1146,3 +1146,10 @@ return {
['1'] = 1,
}
]]
+
+TEST [[
+return {
+ [print()] = 1,
+ [print()] = 1,
+}
+]]