@JvmOverloads-generated overloads of final methods are also final; test to verify that overloads of deprecated methods are deprecated

This commit is contained in:
Dmitry Jemerov
2016-11-17 17:03:03 +01:00
parent b8525de726
commit a57748f4f4
6 changed files with 25 additions and 5 deletions
@@ -122,6 +122,12 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
doTest(fileName);
}
@TestMetadata("deprecatedJvmOverloads.kt")
public void testDeprecatedJvmOverloads() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/annotations/deprecatedJvmOverloads.kt");
doTest(fileName);
}
@TestMetadata("JvmSynthetic.kt")
public void testJvmSynthetic() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/annotations/JvmSynthetic.kt");