mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
17 lines
224 B
Kotlin
Vendored
17 lines
224 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
class C() {
|
|
companion object {
|
|
private fun <T> create() = C()
|
|
}
|
|
|
|
class ZZZ {
|
|
val c = C.create<String>()
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
C.ZZZ().c
|
|
return "OK"
|
|
}
|
|
|