// RUN_PIPELINE_TILL: FRONTEND
//KT-323 Handle visibility interactions with overriding
package kt323

open class A {
    open var a : Int = 0
}

class B : A() {
    override <!VAR_OVERRIDDEN_BY_VAL!>val<!> a = 34

    var b : Int
        public get() = 23
        set(i: Int) {}

    protected var c : Int
        get() = 23
        private set(i: Int) {}
}

/* GENERATED_FIR_TAGS: classDeclaration, getter, integerLiteral, override, propertyDeclaration, setter */
