// RUN_PIPELINE_TILL: BACKEND
// WITH_STDLIB

interface FirExpression
interface FirNamedArgumentExpression : FirExpression {
    val expression: FirNamedArgumentExpression
}
class AnnotationUseSiteTarget

private fun List<FirExpression>.toAnnotationUseSiteTargets2(): Set<AnnotationUseSiteTarget> =
    flatMapTo(mutableSetOf()) { arg ->
        when (val unwrappedArg = if (arg is FirNamedArgumentExpression) arg.expression else arg) {
        is FirNamedArgumentExpression -> setOf()
        else -> setOf()
    }
    }

/* GENERATED_FIR_TAGS: classDeclaration, funWithExtensionReceiver, functionDeclaration, ifExpression,
interfaceDeclaration, isExpression, lambdaLiteral, localProperty, propertyDeclaration, smartcast, whenExpression,
whenWithSubject */
