Files
kotlin-fork/compiler/testData/debug/stepping/constantConditions.kt
T
Mads Ager e9c9d5731e [JVM] Port Stepping and LocalVariable tests to new test infra.
This is in preparation for enabling the tests for FIR which will
be easier to do when the tests are on the new infrastructure.
2021-10-15 20:03:54 +03:00

26 lines
313 B
Kotlin
Vendored

// FILE: test.kt
// KT-22488
fun box() {
test()
}
fun test(): Long {
if (1 == 1 &&
2 == 2) {
return 0
}
return 1
}
// EXPECTATIONS
// test.kt:5 box
// EXPECTATIONS JVM_IR
// test.kt:9 test
// EXPECTATIONS
// test.kt:10 test
// test.kt:11 test
// test.kt:5 box
// test.kt:6 box