Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepInto/stepIntoSuspendFunctionSimple.kt
T
Yan Zhulanow 472ec72eb9 Refactor debugger tests
1. Move tests to their own module
2. Avoid sharing the 'tinyApp' project between tests
3. Clean up option directive handling
2019-10-08 19:13:56 +09:00

23 lines
305 B
Kotlin
Vendored

// ATTACH_LIBRARY: coroutines
package stepIntoSuspendFunctionSimple
import forTests.builder
private fun foo() {}
suspend fun second() {
}
suspend fun first(): Int {
second()
return 12
}
fun main(args: Array<String>) {
builder {
//Breakpoint!
first()
foo()
}
}