blob: 7c31bc546357bc832be1cb09450f6478c9cdb798 [file]
// RUN_PIPELINE_TILL: CODEGEN
interface A {
fun foo()
}
abstract class B : A {
override fun foo() {}
}
interface C : A {}
fun main(c: C) {
if (c !is B) return
c.foo()
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, ifExpression, interfaceDeclaration, intersectionType,
isExpression, override, smartcast */