Support codegen of empty do-while-loop

#KT-3009 In Progress
This commit is contained in:
Alexander Udalov
2013-12-02 20:48:15 +04:00
parent 9058272528
commit 61ff9eb45b
3 changed files with 19 additions and 2 deletions
@@ -0,0 +1,9 @@
fun box(): String {
do while (false);
var x = 0
do while (x++<5);
if (x != 6) return "Fail: $x"
return "OK"
}