0b84de31b7
^KT-46451 Fixed
23 lines
498 B
Kotlin
Vendored
23 lines
498 B
Kotlin
Vendored
// FILE: test.kt
|
|
|
|
fun box(): String {
|
|
try {
|
|
val x = "x"
|
|
throw RuntimeException(x)
|
|
} finally {
|
|
return "OK"
|
|
}
|
|
return "FAIL"
|
|
}
|
|
|
|
// IGNORE_BACKEND: JVM
|
|
// The old backend steps on line 4, 5, 9, and 8. No step on the throw, and a step on the end
|
|
// brace of the finally before going into the actual finally code.
|
|
|
|
// LOCAL VARIABLES
|
|
// test.kt:4 box:
|
|
// test.kt:5 box:
|
|
// test.kt:6 box: x:java.lang.String="x":java.lang.String
|
|
// test.kt:7 box:
|
|
// test.kt:8 box:
|