diff options
Diffstat (limited to 'spec/outputs')
| -rw-r--r-- | spec/outputs/cond.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/outputs/cond.lua b/spec/outputs/cond.lua index 7764439..1f6aa63 100644 --- a/spec/outputs/cond.lua +++ b/spec/outputs/cond.lua | |||
| @@ -335,4 +335,14 @@ do | |||
| 335 | end | 335 | end |
| 336 | end | 336 | end |
| 337 | end | 337 | end |
| 338 | do | ||
| 339 | local v | ||
| 340 | if 1 and (function() | ||
| 341 | return 0 ~= 1 | ||
| 342 | end)() then | ||
| 343 | v = 1 | ||
| 344 | else | ||
| 345 | v = 2 | ||
| 346 | end | ||
| 347 | end | ||
| 338 | return nil | 348 | return nil |
