mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
15 lines
277 B
Kotlin
Vendored
15 lines
277 B
Kotlin
Vendored
//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() |