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

13 lines
245 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
package someTest
public class Some private constructor(val v: String) {
companion object {
public fun init(v: String): Some {
return Some(v)
}
}
}
fun box() = Some.init("OK").v