Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
5e49b472f81ed95098eec9749aa2ad0415fac731
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
controlFlowAnalysis
/
reassignmentInCatch.kt
blob: f7eeee064a7100def859480f2491eb2d993875d3 [
file
]
// ISSUE: KT-42995
fun test
()
{
val a
:
Int
try
{
run
{
a
=
1
a
.
inc
()
throw
Exception
(
"hmm"
)
}
}
catch
(
e
:
Exception
)
{
a
=
2
a
.
inc
()
}
}