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