Files
kotlin-fork/compiler/testData/codegen/box/privateConstructors/captured.kt
T
2018-06-28 12:26:41 +02:00

11 lines
208 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
public open class Outer private constructor(val s: String) {
companion object {
fun test () = { Outer("OK") }()
}
}
fun box(): String {
return Outer.test().s
}