Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
49b2ac1b100c5042a0e98582713938062efa6a31
/
.
/
compiler
/
testData
/
multiplatform
/
funInterfaces
/
jvm.kt
blob: 39433761d368f88b1eea55aeabba19a722d7b04d [
file
] [
log
] [
blame
]
// ADDITIONAL_COMPILER_ARGUMENTS: -Xnew-inference
package
jvm
fun
interface
KRunnable
{
fun invoke
():
String
}
fun foo
(
k
:
KRunnable
)
=
k
.
invoke
()
fun test
()
{
foo
{
"OK"
}
foo
(
KRunnable
{
"OK "
})
}