mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
24 lines
281 B
Plaintext
Vendored
24 lines
281 B
Plaintext
Vendored
// SIBLING:
|
|
class A {
|
|
class B {
|
|
fun test(): Int {
|
|
return i()
|
|
}
|
|
|
|
companion object {
|
|
val coProp = 1
|
|
|
|
fun coFun() {
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
private fun i(): Int {
|
|
A.B.coFun()
|
|
return A.B.coProp + 10
|
|
}
|
|
|
|
|