// RUN_PIPELINE_TILL: BACKEND
fun test(x: List<Int>): Int {
    x myMap {
        return@myMap
    }

    return 0
}

fun myMap(x: List<Int>): Int {
    x myMap {
        return@myMap
    }

    return 0
}

infix fun List<Int>.myMap(x: () -> Unit) {}

/* GENERATED_FIR_TAGS: funWithExtensionReceiver, functionDeclaration, functionalType, infix, integerLiteral,
lambdaLiteral */
