Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
06ab8cc69e303e70578de24dd9a1cf4ebafff93a
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
invokedynamic
/
functionRefToJavaInterface.kt
blob: 538d278312a6b32b20d6e77b26206e509a5210e9 [
file
]
// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
// SAM_CONVERSIONS: INDY
// WITH_STDLIB
// FULL_JDK
fun hello
()
{
println
(
"Hello, world!"
)
}
val test
=
Runnable
(::
hello
)
// 1 INVOKEDYNAMIC
// 1 class FunctionRefToJavaInterfaceKt