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.
18 lines
218 B
Kotlin
Vendored
18 lines
218 B
Kotlin
Vendored
// FILE: test.kt
|
|
|
|
fun <T> eval(f: () -> T) = f()
|
|
|
|
fun box() {
|
|
eval {
|
|
"OK"
|
|
}
|
|
}
|
|
|
|
// EXPECTATIONS
|
|
// test.kt:6 box
|
|
// test.kt:3 eval
|
|
// test.kt:7 invoke
|
|
// test.kt:3 eval
|
|
// test.kt:6 box
|
|
// test.kt:9 box
|