Support codegen of empty for-loop

#KT-3009 Fixed
 EA-35742 fixed
This commit is contained in:
Alexander Udalov
2013-12-02 20:53:50 +04:00
parent 61ff9eb45b
commit 4aa6a42483
3 changed files with 24 additions and 1 deletions
@@ -1432,6 +1432,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/controlStructures/emptyDoWhile.kt");
}
@TestMetadata("emptyFor.kt")
public void testEmptyFor() throws Exception {
doTest("compiler/testData/codegen/box/controlStructures/emptyFor.kt");
}
@TestMetadata("emptyIf.kt")
public void testEmptyIf() throws Exception {
doTest("compiler/testData/codegen/box/controlStructures/emptyIf.kt");