aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/syntax.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/outputs/syntax.lua')
-rw-r--r--spec/outputs/syntax.lua14
1 files changed, 9 insertions, 5 deletions
diff --git a/spec/outputs/syntax.lua b/spec/outputs/syntax.lua
index cfe63eb..5fd1821 100644
--- a/spec/outputs/syntax.lua
+++ b/spec/outputs/syntax.lua
@@ -40,12 +40,16 @@ end
40_ = function() 40_ = function()
41 return 1, 2, 34 41 return 1, 2, 34
42end 42end
43return 5 + function() 43do
44 return 4 + 2 44 return 5 + function()
45 return 4 + 2
46 end
47end
48do
49 return 5 + (function()
50 return 4
51 end) + 2
45end 52end
46return 5 + (function()
47 return 4
48end) + 2
49print(5 + function() 53print(5 + function()
50 _ = 34 54 _ = 34
51 return good(nads) 55 return good(nads)