Fix continue in for loops. Tests added

This commit is contained in:
Andrey Breslav
2012-08-30 20:14:18 +04:00
parent f0119c7354
commit 59724296d6
3 changed files with 119 additions and 1 deletions
@@ -344,6 +344,11 @@ public class ControlStructuresTest extends CodegenTestCase {
blackBoxFile("regressions/kt998.kt");
}
public void testContinueInFor() throws Exception {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_AND_ANNOTATIONS);
blackBoxFile("controlStructures/continueInFor.kt");
}
public void testKt628() throws Exception {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt628.kt");