Intrinsics for 'reversed': array.indices

#KT-21323 In Progress
This commit is contained in:
Dmitry Petrov
2017-12-11 14:24:05 +03:00
parent beff4a1b92
commit 5bcbe25469
9 changed files with 196 additions and 1 deletions
@@ -15241,6 +15241,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/ranges/forInReversed"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("forInReversedArrayIndices.kt")
public void testForInReversedArrayIndices() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/forInReversed/forInReversedArrayIndices.kt");
doTest(fileName);
}
@TestMetadata("forInReversedEmptyRange.kt")
public void testForInReversedEmptyRange() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/forInReversed/forInReversedEmptyRange.kt");