regression test for KT-3107

This commit is contained in:
Dmitry Jemerov
2015-03-04 17:24:58 +01:00
parent 155ce4221c
commit a2e22c6d20
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,17 @@
fun foo(): String {
val s = try {
"OK"
} catch (e: Exception) {
try {
""
} catch (ee: Exception) {
""
}
}
return s
}
fun box(): String {
return foo()
}