summaryrefslogtreecommitdiff
path: root/test/implementation/bug.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/implementation/bug.lua')
-rw-r--r--test/implementation/bug.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/implementation/bug.lua b/test/implementation/bug.lua
new file mode 100644
index 00000000..b0e890ca
--- /dev/null
+++ b/test/implementation/bug.lua
@@ -0,0 +1,15 @@
+TEST [[
+local <!x!>
+function _(x)
+end
+function _()
+ <?x?>
+end
+]]
+
+TEST [[
+function _(<!x!>)
+ do return end
+ <?x?> = 1
+end
+]]