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

10 lines
146 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
abstract class Foo<T> {
fun hello(id: T) = "O$id"
}
class Bar: Foo<String>() {
}
fun box() = Bar().hello("K")