472ec72eb9
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
25 lines
368 B
Kotlin
Vendored
25 lines
368 B
Kotlin
Vendored
// FILE: soInlineCallInLastStatementInInlineFunctionArgumentDex.kt
|
|
// EMULATE_DEX: true
|
|
|
|
package soInlineCallInLastStatementInInlineFunctionArgumentDex
|
|
|
|
fun main(args: Array<String>) {
|
|
bar {
|
|
nop()
|
|
//Breakpoint!
|
|
foo()
|
|
}
|
|
}
|
|
|
|
inline fun bar(f: () -> Unit) {
|
|
nop()
|
|
f()
|
|
}
|
|
|
|
inline fun foo() {
|
|
nop()
|
|
}
|
|
|
|
fun nop() {}
|
|
|
|
// STEP_OVER: 5 |