Files
kotlin-fork/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.kt
T
2024-01-12 19:41:42 +00:00

13 lines
164 B
Kotlin
Vendored

// FIR_IDENTICAL
fun interface IFoo {
fun foo(i: Int)
}
fun useFoo(foo: IFoo) {}
fun withVararg(vararg xs: Int) = 42
fun test() {
useFoo(::withVararg)
}