16 lines
236 B
Kotlin
Vendored
16 lines
236 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
class Outer {
|
|
class Nested {
|
|
companion object {
|
|
fun foo() = 42
|
|
}
|
|
}
|
|
|
|
companion object {
|
|
fun bar() = 239
|
|
}
|
|
}
|
|
|
|
fun foo() = Outer.Nested.foo()
|
|
fun bar() = Outer.bar()
|