blob: 5998ac9fb447ff05cefea98ad3857c0f7bb58848 [file]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// See also KT-7801
class A
fun <T> test(v: T): T {
val a: T = if (v !is A) v else v
return a
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, ifExpression, intersectionType, isExpression,
localProperty, nullableType, propertyDeclaration, smartcast, typeParameter */