aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/unicode/do.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/outputs/unicode/do.lua')
-rw-r--r--spec/outputs/unicode/do.lua48
1 files changed, 48 insertions, 0 deletions
diff --git a/spec/outputs/unicode/do.lua b/spec/outputs/unicode/do.lua
new file mode 100644
index 0000000..f9c3079
--- /dev/null
+++ b/spec/outputs/unicode/do.lua
@@ -0,0 +1,48 @@
1do
2 _u6253_u5370("你好")
3 _u6253_u5370("世界")
4end
5local _u53d8_u91cfx
6do
7 _u6253_u5370("你好")
8 _u53d8_u91cfx = _u6253_u5370("世界")
9end
10local _u53d8_u91cfy
11do
12 local _u4e1c_u897f = "shhh"
13 _u53d8_u91cfy = function()
14 return "你好: " .. _u4e1c_u897f
15 end
16end
17local _
18_ = function()
19 if _u67d0_u6761_u4ef6 then
20 do
21 return "好的"
22 end
23 end
24end
25local _u53d8_u91cft = {
26 ["y字段"] = (function()
27 local _u6570_u5b57 = 100
28 return function(_u53c2_u6570x)
29 return _u53c2_u6570x + _u6570_u5b57
30 end
31 end)()
32}
33return function(_u53c2_u6570y, _u53c2_u6570k)
34 if _u53c2_u6570y == nil then
35 do
36 _u53d8_u91cfx = 10 + 2
37 _u53c2_u6570y = _u53d8_u91cfx
38 end
39 end
40 if _u53c2_u6570k == nil then
41 do
42 _u53c2_u6570k = "没啥"
43 end
44 end
45 do
46 return "啊"
47 end
48end