blob: cf8b45180ebcc026b2468b94f7095eeb1f6d2692 [file] [log] [blame]
// "Lift assignment out of 'try' expression" "true"
// WITH_RUNTIME
fun foo() {
val x: Int
x = try {
1
} catch (e: Exception) {
2
} finally {}
}