blob: a3126de0c6af5219a8e4221f4ec0e6e06b81b3a9 [file]
// RUN_PIPELINE_TILL: BACKEND
package c
interface B {
fun bar() {}
}
class C() {
fun bar() {
}
}
fun test(a : Any?) {
if (a is B) {
if (<!USELESS_IS_CHECK!>a is C<!>) {
<!DEBUG_INFO_SMARTCAST!>a<!>.bar();
}
}
}
fun Any?.bar() {}
/* GENERATED_FIR_TAGS: classDeclaration, funWithExtensionReceiver, functionDeclaration, ifExpression,
interfaceDeclaration, intersectionType, isExpression, nullableType, primaryConstructor, smartcast */