Fix for finally before empty return

This commit is contained in:
Alexander Udalov
2012-11-22 16:53:37 +04:00
parent 99a908e8fe
commit ca587513e3
3 changed files with 20 additions and 0 deletions
@@ -469,4 +469,9 @@ public class ControlStructuresTest extends CodegenTestCase {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("controlStructures/conditionOfEmptyIf.kt");
}
public void testFinallyOnEmptyReturn() {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("controlStructures/finallyOnEmptyReturn.kt");
}
}