Files

16 lines
198 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// FILE: C.java
class C<T> {
public C<? super T> getXx() { return this; }
}
// FILE: test.kt
fun test() {
var c: C<out Any?> = C()
c = c.xx
}
fun box() = "OK"