Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
ir
/
irText
/
expressions
/
catchParameterAccess.kt
blob: 3a61fd4188677bc4363a85ed03fab8287e641fdd [
file
]
// FIR_IDENTICAL
// IGNORE_BACKEND: JS_IR
// KT-61141: rethrows kotlin.Exception instead of java.lang.Exception
// IGNORE_BACKEND: NATIVE
fun test
(
f
:
()
->
Unit
)
=
try
{
f
()
}
catch
(
e
:
Exception
)
{
throw
e
}