提交 e00e726b 编写于 作者: D Dmitriy Novozhilov

[FIR] Add test for KT-45584

上级 f4afc2ef
......@@ -21124,6 +21124,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/javaInterop/ambiguousJavaVararg.kt");
}
@Test
@TestMetadata("conflictingOverloadsForThrowableInheritors.kt")
public void testConflictingOverloadsForThrowableInheritors() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/conflictingOverloadsForThrowableInheritors.kt");
}
@Test
@TestMetadata("genericSamProjectedOut.kt")
public void testGenericSamProjectedOut() throws Exception {
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// FULL_JDK
// ISSUE: KT-45584
// FILE: PlaceholderExceptionSupport.java
public interface PlaceholderExceptionSupport {
String getMessage();
}
// FILE: PlaceholderException.java
public class PlaceholderException extends RuntimeException implements PlaceholderExceptionSupport {}
// FILE: main.kt
class KotlinTestFailure : PlaceholderException() {} // <-- CONFLICTING_INHERITED_JVM_DECLARATIONS
fun box(): String = "OK"
......@@ -21124,6 +21124,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/javaInterop/ambiguousJavaVararg.kt");
}
@Test
@TestMetadata("conflictingOverloadsForThrowableInheritors.kt")
public void testConflictingOverloadsForThrowableInheritors() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/conflictingOverloadsForThrowableInheritors.kt");
}
@Test
@TestMetadata("genericSamProjectedOut.kt")
public void testGenericSamProjectedOut() throws Exception {
......@@ -21124,6 +21124,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/javaInterop/ambiguousJavaVararg.kt");
}
@Test
@TestMetadata("conflictingOverloadsForThrowableInheritors.kt")
public void testConflictingOverloadsForThrowableInheritors() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/conflictingOverloadsForThrowableInheritors.kt");
}
@Test
@TestMetadata("genericSamProjectedOut.kt")
public void testGenericSamProjectedOut() throws Exception {
......@@ -17692,6 +17692,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/javaInterop/ambiguousJavaVararg.kt");
}
@TestMetadata("conflictingOverloadsForThrowableInheritors.kt")
public void testConflictingOverloadsForThrowableInheritors() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/conflictingOverloadsForThrowableInheritors.kt");
}
@TestMetadata("genericSamProjectedOut.kt")
public void testGenericSamProjectedOut() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/genericSamProjectedOut.kt");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册