// RUN_PIPELINE_TILL: FRONTEND
package some

class A()

val Int.some: Int get() = 4
val Int.foo: Int get() = 4

fun Int.extFun() = 4

fun String.test() {
    <!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>some<!>
    some.A()
    "".<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>some<!>

    <!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>foo<!>
    "".<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>foo<!>

    <!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>extFun<!>()
    "".<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>extFun<!>()
}

/* GENERATED_FIR_TAGS: classDeclaration, funWithExtensionReceiver, functionDeclaration, getter, integerLiteral,
primaryConstructor, propertyDeclaration, propertyWithExtensionReceiver, stringLiteral */
