mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
15 lines
219 B
Kotlin
Vendored
15 lines
219 B
Kotlin
Vendored
class Outer {
|
|
class Nested {
|
|
companion object {
|
|
fun foo() = 42
|
|
}
|
|
}
|
|
|
|
companion object {
|
|
fun bar() = 239
|
|
}
|
|
}
|
|
|
|
fun foo() = Outer.Nested.foo()
|
|
fun bar() = Outer.bar()
|