mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
11 lines
209 B
Kotlin
Vendored
11 lines
209 B
Kotlin
Vendored
// See also KT-6299
|
|
public open class Outer private constructor() {
|
|
companion object {
|
|
internal inline fun foo() = Outer()
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
val outer = Outer.foo()
|
|
return "OK"
|
|
} |