Sign in
android
/
platform
/
external
/
jetbrains
/
kotlin
/
4857ad9a90c5733a1df37619f8cf9f49dd20ef1f
/
.
/
compiler
/
testData
/
ir
/
irText
/
expressions
/
sam
/
samConstructors.kt
blob: f36e65925ca3dbe14f4729d4acd3a651d997ff36 [
file
] [
log
] [
blame
]
// WITH_JDK
// TARGET_BACKEND: JVM
fun test1
()
=
Runnable
{
}
fun test2
(
a
:
()
->
Unit
)
=
Runnable
(
a
)
fun foo
()
{}
fun test3
()
=
Runnable
(::
foo
)
fun test4
()
=
Comparator
<
Int
>
{
a
,
b
->
a
-
b
}