//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()