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