FE: add tests to reproduce KT-56720

This commit is contained in:
Mikhail Glukhikh
2023-02-16 13:20:17 +01:00
committed by Space Team
parent 4981a52904
commit ab883d91c8
8 changed files with 112 additions and 0 deletions
@@ -0,0 +1,19 @@
// FILE: A.java
public interface A {
default void foo() {}
}
// FILE: B.java
public interface B extends A
// FILE: C.java
public interface C extends A
// FILE: test.kt
class Adapter : B, C
class D(val adapter: Adapter) : B by adapter, C by adapter