Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolveWithStdlib/callableReferences/manyOuterCandidates.kt
T
2020-03-19 09:51:01 +03:00

10 lines
108 B
Kotlin
Vendored

fun foo(x: (String) -> Int) {}
fun foo(x: () -> Int) {}
fun bar(): Int = 1
fun main() {
foo(::bar)
}