Write proper start label for loop parameter

This commit is contained in:
Michael Bogdanov
2016-04-08 11:19:17 +03:00
parent 441a442f34
commit a6044c81ff
3 changed files with 18 additions and 4 deletions
@@ -835,6 +835,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeText/forLoop"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("loopVarInterval.kt")
public void testLoopVarInterval() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/forLoop/loopVarInterval.kt");
doTest(fileName);
}
@TestMetadata("primitiveLiteralRange1.kt")
public void testPrimitiveLiteralRange1() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/forLoop/primitiveLiteralRange1.kt");