Test for obsolete KT-7224: Redundant result boxing on ?. call on a primitive

#KT-7224 Obsolete
This commit is contained in:
Michael Bogdanov
2016-01-29 12:13:16 +03:00
parent c9cc9c55cd
commit b9c30c739e
2 changed files with 13 additions and 0 deletions
@@ -376,6 +376,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
doTest(fileName);
}
@TestMetadata("kt7224.kt")
public void testKt7224() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/boxingOptimization/kt7224.kt");
doTest(fileName);
}
@TestMetadata("nullCheck.kt")
public void testNullCheck() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/boxingOptimization/nullCheck.kt");