mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
30 lines
408 B
Kotlin
Vendored
30 lines
408 B
Kotlin
Vendored
package foo
|
|
|
|
fun test() {
|
|
A.d
|
|
A.Companion.<!INVISIBLE_MEMBER!>f<!>
|
|
B.<!INVISIBLE_MEMBER!>D<!>
|
|
<!INVISIBLE_MEMBER!>CCC<!>
|
|
CCC.<!INVISIBLE_MEMBER!>classObjectVar<!>
|
|
}
|
|
|
|
class A() {
|
|
public companion object {
|
|
val d = 3
|
|
private object f {
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
class B {
|
|
class D {
|
|
private companion object
|
|
}
|
|
}
|
|
|
|
class CCC() {
|
|
private companion object {
|
|
val classObjectVar = 3
|
|
}
|
|
} |