blob: 6485e4a3d3ca0609304109ace74a15534109547a [file]
// RUN_PIPELINE_TILL: BACKEND
fun <T> foo(x: () -> T, y: Int) {}
fun <E> bar(x: E): Int = 1
fun main() {
fun bar(): Int = 1
fun foo(x: (String) -> Int, y: String) {}
foo(::bar, 1)
foo(::bar, "")
}
/* GENERATED_FIR_TAGS: callableReference, functionDeclaration, functionalType, integerLiteral, localFunction,
nullableType, stringLiteral, typeParameter */