mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
15 lines
285 B
Kotlin
15 lines
285 B
Kotlin
//ALLOW_AST_ACCESS
|
|
|
|
package test
|
|
|
|
open class Base {
|
|
protected open val prot: Int = 1
|
|
internal open val int: Int = 1
|
|
public open val pub: Int = 1
|
|
}
|
|
|
|
class Child(
|
|
public override val prot: Int,
|
|
public override val int: Int,
|
|
public override val pub: Int
|
|
) : Base() |