blob: 45fcd8fca5bd012605f615a954a62a1ecceb9e47 [file]
// ISSUE: KT-66256
fun interface Element {
fun invoke()
}
class Container<T> {
fun add(arg: T) {}
}
fun test(c: Container<in Element>) {
c.add({})
}
fun box(): String {
test(Container())
return "OK"
}