blob: 97acb1afbbf51c3a41fcf8c1a8c093b0795be4ef [file]
// JVM_ABI_K1_K2_DIFF: KT-63828
interface Tr<T> {
val prop: T
}
class A(a: Tr<Int>) : Tr<Int> by a
fun eat(x: Int) {}
fun box(): String {
eat(A(object : Tr<Int> {
override val prop = 42
}).prop)
return "OK"
}