Files
kotlin/compiler/testData/codegen/box/classes/classObjectWithPrivateGenericMember.kt
2019-11-19 11:00:09 +03:00

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"
}