Files
kotlin-fork/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAfterTry.kt
T
2018-06-09 19:15:38 +03:00

5 lines
178 B
Kotlin
Vendored

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