Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
functions
/
coerceVoidToArray.kt
blob: ba2cd8f1f7eb869a9715f37ef1d337d0e040efa2 [
file
] [
log
] [
blame
]
fun a
():
IntArray
?
=
null
fun b
():
Nothing
=
throw
Exception
()
fun foo
():
IntArray
=
a
()
?:
b
()
fun box
():
String
{
try
{
foo
()
}
catch
(
e
:
Exception
)
{
return
"OK"
}
return
"Fail"
}