blob: cfa03633fd015bf76b964a00513df01c80857405 [file]
fun test() {
acceptMyRecursive(inferType<<!UPPER_BOUND_VIOLATED!>MyRecursive?<!>>())
}
fun acceptMyRecursive(value: MyRecursive?) {}
fun <R : Recursive<R>?> inferType(): R = TODO()
abstract class Recursive<R>
class MyRecursive : Recursive<MyRecursive>()