From afea7d6f14e7534a71591447ccc5b1110836ed8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 20 Nov 2018 12:09:06 +0800 Subject: =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=BD=AC=E5=88=B0=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/definition/set.lua | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'test/definition') diff --git a/test/definition/set.lua b/test/definition/set.lua index 4cbb5926..2e48e490 100644 --- a/test/definition/set.lua +++ b/test/definition/set.lua @@ -2,3 +2,29 @@ TEST [[ = 1 = 1 ]] + +TEST [[ +do + = 1 +end + = 1 +]] + +TEST [[ + = 1 +do + local x = 1 +end + = 1 +]] + +TEST [[ +x = 1 +do + local = 1 + do + x = 2 + end + = 1 +end +]] -- cgit v1.2.3