Fix last if-statement in block codegen

#KT-3203 Fixed
This commit is contained in:
Alexander Udalov
2013-01-09 20:27:13 +04:00
parent 293b272a22
commit 4cebd3f75b
4 changed files with 56 additions and 11 deletions
@@ -476,4 +476,14 @@ public class ControlStructuresTest extends CodegenTestCase {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt3087.kt");
}
public void testKt3203_1() {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt3203_1.kt");
}
public void testKt3203_2() {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt3203_2.kt");
}
}