Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
box
/
funInterface
/
kt77685-sam.kt
blob: fb5a07ce29bf82f3c67cb85e78bc50589d8bab38 [
file
]
// WITH_STDLIB
// FILE: lib.kt
fun
interface
Foo
:
suspend
()
->
Unit
// FILE: main.kt
import
kotlin
.
test
.*
val x
=
suspend
{}
val foo
=
Foo
(
x
)
fun box
():
String
{
assertEquals
(
foo
,
foo
)
// Circumvent DCE.
return
"OK"
}