Files
kotlin/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAfterTry.kt
2018-06-19 17:09:31 +03:00

4 lines
153 B
Kotlin
Vendored

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