Add tests for KT-17929

This commit is contained in:
Mikhail Glukhikh
2017-05-19 14:39:14 +03:00
parent d9e4b445b9
commit 0fd70df681
9 changed files with 80 additions and 0 deletions
@@ -0,0 +1,14 @@
fun bar() {}
fun foo() {
var s: String?
s = "Test"
try {
s = null
}
catch (ex: Exception) {}
finally {
bar()
}
<!DEBUG_INFO_SMARTCAST!>s<!>.hashCode()
}