Additional tests for KT-10243

This commit is contained in:
Mikhail Glukhikh
2015-12-01 20:53:39 +03:00
parent b9ce9f8576
commit ea3a65d0b8
14 changed files with 310 additions and 3 deletions
@@ -0,0 +1,11 @@
<!MUST_BE_INITIALIZED!>var x: Int<!>
fun foo(f: Boolean) {
try {
if (f) {
x = 0
}
}
finally {
fun bar() {}
}
}
@@ -0,0 +1,4 @@
package
public var x: kotlin.Int
public fun foo(/*0*/ f: kotlin.Boolean): kotlin.Unit