Add test for KT-19246

The issue was fixed by
https://github.com/jetbrains/kotlin/commit/904c7f9c640ccb38c0becb40bd3b5dad3ac921bd
This commit is contained in:
Dmitry Petrov
2017-07-27 11:49:17 +03:00
parent 24865ba26a
commit 5df461c7e0
5 changed files with 43 additions and 0 deletions
@@ -2722,6 +2722,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/checkcastOptimization/kt19128.kt");
doTest(fileName);
}
@TestMetadata("kt19246.kt")
public void testKt19246() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/checkcastOptimization/kt19246.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/codegen/box/classLiteral")