blob: 9433057256e462eacf28682c6340e25c77c070fd [file]
// RUN_PIPELINE_TILL: FRONTEND
// ISSUE: KT-61101
open class A {
var x: Int = 0
private set
}
class B : A()
fun test() {
val b = B()
b<!UNREACHABLE_CODE!>.x =<!> throw Exception()
}
/* GENERATED_FIR_TAGS: assignment, classDeclaration, functionDeclaration, integerLiteral, localProperty,
propertyDeclaration */