Files
kotlin-fork/compiler/testData/codegen/box/traits/kt2541.kt
T
2019-11-19 11:00:09 +03:00

9 lines
147 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
interface A<T, U> {
fun foo(t: T, u: U) = "OK"
}
class B<T> : A<T, Int>
fun box(): String = B<Int>().foo(1, 2)