Files
kotlin-fork/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAfterTry.kt
T
2021-09-08 19:56:38 +03:00

5 lines
154 B
Kotlin
Vendored

fun box(): String =
"" +
try { "O" } catch (e: Exception) { "1" } +
try { throw Exception("oops!") } catch (e: Exception) { "K" }