[FIR] Add test for KT-45584

This commit is contained in:
Dmitriy Novozhilov
2021-03-19 17:34:51 +03:00
parent f4afc2ef44
commit e00e726bcb
5 changed files with 43 additions and 0 deletions
@@ -0,0 +1,20 @@
// 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"