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

3 lines
103 B
Kotlin
Vendored

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