Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
smartCasts
/
implicitReceiver.kt
blob: 44b8c9d5e74fd6e931093e6e25950dc888511d9f [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
open
class
A
{
class
B
:
A
()
{
val a
=
"FAIL"
}
fun foo
():
String
{
if
(
this
is
B
)
return
a
return
"OK"
}
}
fun box
():
String
=
A
().
foo
()