| // 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 */ |