Files
kotlin-fork/compiler/testData/codegen/box/deadCodeElimination/kt14357.kt
T
Dmitry Petrov ac675784c1 KT-14357 Run RedundantCoercionToUnitTransformer before DeadCodeEliminatingMethodTransformer.
Remove empty try-catch blocks in DeadCodeEliminatingMethodTransformer.
2016-10-17 10:10:46 +03:00

10 lines
156 B
Kotlin
Vendored

fun box(): String {
if (false) {
try {
null!!
} catch (e: Exception) {
throw e
}
}
return "OK"
}