blob: 13d7ed931f04429c2c187db0973a6ac37ab1eb81 [file]
// RUN_PIPELINE_TILL: CODEGEN
fun Short.foo(): Int = 1
fun Int.foo(): Int = 2
fun testRef(f: () -> Int) {}
fun test() {
// should resolve to Int.foo
testRef(1::foo)
}
/* GENERATED_FIR_TAGS: callableReference, funWithExtensionReceiver, functionDeclaration, functionalType, integerLiteral */