blob: 76ccc0d3d8017219895297719ef889a1f0189725 [file]
// RUN_PIPELINE_TILL: CODEGEN
interface A
interface B : A {
fun foo()
}
fun bar1(a: A) {
var b: B = a as B
a.foo()
b.foo()
}
fun id(b: B) = b
fun bar2(a: A) {
var b: B = id(a as B)
a.foo()
b.foo()
}
/* GENERATED_FIR_TAGS: asExpression, functionDeclaration, interfaceDeclaration, localProperty, propertyDeclaration,
smartcast */