mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
18 lines
379 B
Kotlin
Vendored
18 lines
379 B
Kotlin
Vendored
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
|
|
// IGNORE_BACKEND: JVM_IR
|
|
|
|
open class TestProtectedCompanionInClass {
|
|
protected companion object
|
|
}
|
|
|
|
class TestInternalCompanionInClass {
|
|
internal companion object
|
|
}
|
|
|
|
class TestPrivateCompanionInClass {
|
|
private companion object
|
|
}
|
|
|
|
interface TestPrivateCompanionInInterface {
|
|
private companion object
|
|
} |