e9c9d5731e
This is in preparation for enabling the tests for FIR which will be easier to do when the tests are on the new infrastructure.
20 lines
284 B
Kotlin
Vendored
20 lines
284 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// FILE: test.kt
|
|
suspend fun foo(block: Long.() -> String): String {
|
|
return 1L.block()
|
|
}
|
|
|
|
suspend fun box() {
|
|
foo {
|
|
"OK"
|
|
}
|
|
}
|
|
|
|
// EXPECTATIONS
|
|
// test.kt:8 box
|
|
// test.kt:4 foo
|
|
// test.kt:9 invoke
|
|
// test.kt:4 foo
|
|
// test.kt:8 box
|
|
// test.kt:11 box
|