Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
properties
/
PrivateSetInSuperclass.kt
blob: 2e4c57091cfdf4b005da1ccf92e926c6fff98772 [
file
]
// 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
()
}