mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
16 lines
194 B
Kotlin
Vendored
16 lines
194 B
Kotlin
Vendored
class C() {
|
|
companion object {
|
|
private fun <T> create() = C()
|
|
}
|
|
|
|
class ZZZ {
|
|
val c = C.create<String>()
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
C.ZZZ().c
|
|
return "OK"
|
|
}
|
|
|