Files
kotlin-fork/compiler/testData/debug/stepping/kt42208c.kt
T
Mads Ager e9c9d5731e [JVM] Port Stepping and LocalVariable tests to new test infra.
This is in preparation for enabling the tests for FIR which will
be easier to do when the tests are on the new infrastructure.
2021-10-15 20:03:54 +03:00

39 lines
663 B
Kotlin
Vendored

// FILE: test.kt
fun box() {
baz(foo())
val a = foo()
baz(a)
}
// FILE: test1.kt
// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
inline fun foo() = {
}
//FILE: test3.kt
fun baz(v:(() -> Unit)) {
v()
}
// EXPECTATIONS
// test.kt:4 box
// test1.kt:10 box
// test1.kt:11 box
// test.kt:4 box
// test3.kt:14 baz
// EXPECTATIONS JVM_IR
// test1.kt:11 invoke
// test3.kt:14 baz
// EXPECTATIONS
// test3.kt:15 baz
// test.kt:5 box
// test1.kt:10 box
// test1.kt:11 box
// test.kt:5 box
// test.kt:6 box
// EXPECTATIONS JVM_IR
// test3.kt:14 baz
// test1.kt:11 invoke
// EXPECTATIONS
// test3.kt:14 baz
// test3.kt:15 baz
// test.kt:7 box