Files
kotlin-fork/compiler/testData/debug/stepping/if.kt
T
2022-07-19 16:06:24 +00:00

28 lines
387 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// FILE: test.kt
fun box(): Int {
if (
getB() ==
getA())
return 0
return getB()
}
fun getA() = 3
inline fun getB(): Int {
return 1
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:14 box
// test.kt:6 box
// test.kt:11 getA
// test.kt:6 box
// test.kt:8 box
// test.kt:14 box
// test.kt:8 box
// EXPECTATIONS JS_IR