Files
kotlin-fork/compiler/testData/debug/stepping/lineNumberAfterInline.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
511 B
Kotlin
Vendored

// FILE: test.kt
fun normalFunction() {
"OK"
}
inline fun inlineFunction() {
"OK"
}
fun test1() {
inlineFunction()
"OK"
}
fun test2() {
normalFunction()
"OK"
}
fun box() {
test1()
test2()
}
// EXPECTATIONS
// test.kt:22 box
// test.kt:12 test1
// test.kt:8 test1
// test.kt:9 test1
// test.kt:13 test1
// test.kt:14 test1
// test.kt:23 box
// test.kt:17 test2
// test.kt:4 normalFunction
// test.kt:5 normalFunction
// test.kt:18 test2
// test.kt:19 test2
// test.kt:24 box