Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
codegen
/
box
/
casts
/
kt54318.kt
blob: 90cb39a3758e6cf4daebcca985e10c49d72158ee [
file
]
// TARGET_BACKEND: JVM_IR
fun f
(
b
:
Int
):
Long
?
{
return
try
{
null
}
catch
(
e
:
Throwable
)
{
if
(
b
==
0
)
throw
e
else
{
null
}
}
}
fun box
():
String
{
f
(
0
)
f
(
1
)
return
"OK"
}