blob: 11e467e4e20fad928dccacbfcfcf2148b76df7a8 [file]
// IGNORE_BACKEND_FIR: JVM_IR
class Foo {
fun isOk() = true
}
fun box(): String {
val foo: Foo? = Foo()
if (foo?.isOk()!!) return "OK"
return "fail"
}