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

11 lines
175 B
Kotlin
Vendored

fun test() {
if (false) {
try {
println("Hello Kotlin")
} catch (e: Exception) {
e.printStackTrace()
}
}
}
// 0 INVOKE