diff options
Diffstat (limited to '')
| -rw-r--r-- | spec/outputs/using.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/outputs/using.lua b/spec/outputs/using.lua new file mode 100644 index 0000000..6d0d888 --- /dev/null +++ b/spec/outputs/using.lua | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | local hello = "hello" | ||
| 2 | local world = "world" | ||
| 3 | local _ | ||
| 4 | _ = function() | ||
| 5 | local hello = 3223 | ||
| 6 | end | ||
| 7 | _ = function(a) | ||
| 8 | local hello = 3223 | ||
| 9 | a = 323 | ||
| 10 | end | ||
| 11 | _ = function(a, b, c) | ||
| 12 | a, b, c = 1, 2, 3 | ||
| 13 | local world = 12321 | ||
| 14 | end | ||
| 15 | _ = function(a, e, f) | ||
| 16 | local b, c | ||
| 17 | a, b, c = 1, 2, 3 | ||
| 18 | hello = 12321 | ||
| 19 | local world = "yeah" | ||
| 20 | end | ||
| 21 | _ = function() | ||
| 22 | local hello = hello or 2 | ||
| 23 | end | ||
