blob: 00b2a09287414ddd5809b3c58f739a57e3700c33 [file]
// FILE: test.kt
fun box(): Int {
if (
getB() ==
getA())
return 0
return getB()
}
fun getA() = 3
inline fun getB(): Int {
return 1
}
// EXPECTATIONS JVM_IR
// test.kt:6 box
// test.kt:15 box
// test.kt:7 box
// test.kt:12 getA
// test.kt:6 box
// test.kt:9 box
// test.kt:15 box
// test.kt:9 box
// EXPECTATIONS ClassicFrontend JS_IR
// test.kt:5 box
// EXPECTATIONS FIR JS_IR
// test.kt:6 box
// EXPECTATIONS JS_IR
// test.kt:12 getA
// test.kt:9 box
// EXPECTATIONS WASM
// test.kt:6 $box (8)
// test.kt:15 $box (11, 4)
// test.kt:7 $box (8)
// test.kt:12 $getA (13, 14)
// test.kt:6 $box (8)
// test.kt:9 $box (11)
// test.kt:15 $box (11, 4)
// test.kt:9 $box (4)