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()