Support codegen of empty while-loop

#KT-3009 In Progress
This commit is contained in:
Alexander Udalov
2013-12-02 20:44:23 +04:00
parent 4cd4026174
commit 9058272528
3 changed files with 19 additions and 1 deletions
@@ -1432,6 +1432,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/controlStructures/emptyIf.kt");
}
@TestMetadata("emptyWhile.kt")
public void testEmptyWhile() throws Exception {
doTest("compiler/testData/codegen/box/controlStructures/emptyWhile.kt");
}
@TestMetadata("finallyOnEmptyReturn.kt")
public void testFinallyOnEmptyReturn() throws Exception {
doTest("compiler/testData/codegen/box/controlStructures/finallyOnEmptyReturn.kt");