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