Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
nullCheckOptimization
/
kt49136a.kt
blob: 13bd6d94fe14054a2ee038b3a8ccf30e7dff996a [
file
] [
log
] [
blame
]
// IGNORE_BACKEND: NATIVE
abstract
class
Z
{
init
{
check
(
this
)
}
abstract
val b
:
B
}
class
A
(
override
val b
:
B
)
:
Z
()
class
B
(
val c
:
String
)
fun
use
(
a
:
Any
?)
{}
fun check
(
z
:
Z
)
{
use
(
z
?.
b
?.
c
)
}
fun box
():
String
{
A
(
B
(
""
))
return
"OK"
}