e9c9d5731e
This is in preparation for enabling the tests for FIR which will be easier to do when the tests are on the new infrastructure.
25 lines
328 B
Kotlin
Vendored
25 lines
328 B
Kotlin
Vendored
// FILE: test.kt
|
|
fun box(): Int {
|
|
if (
|
|
getB() ==
|
|
getA())
|
|
return 0
|
|
return getB()
|
|
}
|
|
|
|
fun getA() = 3
|
|
|
|
inline fun getB(): Int {
|
|
return 1
|
|
}
|
|
|
|
// EXPECTATIONS
|
|
// test.kt:4 box
|
|
// test.kt:13 box
|
|
// test.kt:5 box
|
|
// test.kt:10 getA
|
|
// test.kt:5 box
|
|
// test.kt:7 box
|
|
// test.kt:13 box
|
|
// test.kt:7 box
|