blob: 073c33b238c5e5af9ff3e0f7c4018f6847e9ef1c [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<!>) {
a.bar();
}
}
}
fun Any?.bar() {}
/* GENERATED_FIR_TAGS: classDeclaration, funWithExtensionReceiver, functionDeclaration, ifExpression,
interfaceDeclaration, intersectionType, isExpression, nullableType, primaryConstructor, smartcast */