blob: c877fe3b9a7dca07c7ff31cd6718857c2e8ceb6e [file]
// RUN_PIPELINE_TILL: CODEGEN
class A
val <X> X.prop: Int get() = 1
fun <X> X.baz(): Int = 1
fun foo(x: (A) -> Int) {}
fun main() {
foo(A::prop)
foo(A::baz)
}
/* GENERATED_FIR_TAGS: callableReference, classDeclaration, funWithExtensionReceiver, functionDeclaration,
functionalType, getter, integerLiteral, nullableType, propertyDeclaration, propertyWithExtensionReceiver, typeParameter */