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

11 lines
147 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
interface B<T> {
fun foo(dd: T): T = dd
}
class A: B<Int>
fun box(): String {
val a = A()
return "OK"
}