Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1fbe2c8085532ef2fa66bf26fdf2b04c5cca97
/
.
/
compiler
/
testData
/
codegen
/
box
/
exceptions
/
rethrow.kt
blob: 9cd35d203ae95e707bc851940f19d81d239e7821 [
file
]
// WITH_STDLIB
import
kotlin
.
test
.*
fun box
():
String
{
assertFailsWith
<
IllegalStateException
>(
"My error"
)
{
try
{
error
(
"My error"
)
}
catch
(
e
:
Throwable
)
{
throw
e
}
}
return
"OK"
}