// RUN_PIPELINE_TILL: FRONTEND
// ISSUE: KT-58446

infix fun Int.foo(x: <!WRONG_EXTENSION_FUNCTION_TYPE!>@ExtensionFunctionType<!> Int) {}

fun bar() {
    1 foo fun<!SYNTAX!><!>
}

/* GENERATED_FIR_TAGS: anonymousFunction, funWithExtensionReceiver, functionDeclaration, infix, integerLiteral */
