e6f4d6e6fa
^KT-65406
22 lines
329 B
Kotlin
Vendored
22 lines
329 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// TARGET_BACKEND: JVM
|
|
|
|
// FILE: Foo.java
|
|
|
|
import java.util.Set;
|
|
|
|
public class Foo {
|
|
public interface A extends Set<String> {}
|
|
|
|
public interface B extends Set<String> {}
|
|
}
|
|
|
|
// FILE: DelegationAndInheritanceFromJava.kt
|
|
|
|
import Foo.*
|
|
import java.util.HashSet
|
|
|
|
class Impl(b: B): A, B by b
|
|
|
|
fun box() = "OK"
|