Files
kotlin-fork/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.kt
T
2024-02-16 10:19:38 +00:00

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"