summaryrefslogtreecommitdiff
path: root/test/diagnostics/redundant-value.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/redundant-value.lua')
-rw-r--r--test/diagnostics/redundant-value.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/diagnostics/redundant-value.lua b/test/diagnostics/redundant-value.lua
new file mode 100644
index 00000000..a63544df
--- /dev/null
+++ b/test/diagnostics/redundant-value.lua
@@ -0,0 +1,7 @@
+TEST [[
+local _ = 1, <!2!>
+]]
+
+TEST [[
+_ = 1, <!2!>
+]]