diff options
Diffstat (limited to 'spec/outputs/5.1/loops.lua')
-rw-r--r-- | spec/outputs/5.1/loops.lua | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/spec/outputs/5.1/loops.lua b/spec/outputs/5.1/loops.lua index 85e9de8..6f0d072 100644 --- a/spec/outputs/5.1/loops.lua +++ b/spec/outputs/5.1/loops.lua | |||
@@ -382,3 +382,63 @@ do | |||
382 | print(thing) | 382 | print(thing) |
383 | end | 383 | end |
384 | end | 384 | end |
385 | do | ||
386 | for i = 1, 10 do | ||
387 | local _continue_0 = false | ||
388 | repeat | ||
389 | repeat | ||
390 | local _cond_0 = false | ||
391 | local _continue_1 = false | ||
392 | repeat | ||
393 | do | ||
394 | local _with_0 = tb | ||
395 | if _with_0 ~= nil then | ||
396 | _with_0.a = 1 | ||
397 | if _with_0.b then | ||
398 | _cond_0 = true | ||
399 | _continue_1 = true | ||
400 | break | ||
401 | end | ||
402 | do | ||
403 | if _with_0.c then | ||
404 | break | ||
405 | end | ||
406 | end | ||
407 | end | ||
408 | end | ||
409 | _cond_0 = true | ||
410 | _continue_1 = true | ||
411 | until true | ||
412 | if not _continue_1 then | ||
413 | break | ||
414 | end | ||
415 | until _cond_0 | ||
416 | if 123 == x then | ||
417 | break | ||
418 | else | ||
419 | _continue_0 = true | ||
420 | break | ||
421 | end | ||
422 | if y then | ||
423 | _continue_0 = true | ||
424 | break | ||
425 | else | ||
426 | break | ||
427 | end | ||
428 | do | ||
429 | do | ||
430 | do | ||
431 | print(i) | ||
432 | _continue_0 = true | ||
433 | break | ||
434 | end | ||
435 | end | ||
436 | end | ||
437 | print("abc") | ||
438 | _continue_0 = true | ||
439 | until true | ||
440 | if not _continue_0 then | ||
441 | break | ||
442 | end | ||
443 | end | ||
444 | end | ||