febac0dd5f
^KT-65979
20 lines
343 B
Kotlin
Vendored
20 lines
343 B
Kotlin
Vendored
// MODULE: lib
|
|
// FILE: lib.kt
|
|
|
|
inline fun foo(): String {
|
|
try {
|
|
try {
|
|
throw Exception("O")
|
|
} catch (e: Throwable) {
|
|
throw Exception("${e.message}K")
|
|
}
|
|
} catch (e: Throwable) {
|
|
return e.message!!
|
|
}
|
|
return "FAIL"
|
|
}
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: main.kt
|
|
|
|
fun box() = foo() |