Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
HEAD
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
checkcastOnThrow.kt
blob: 0b3212e5a07d840df5cfe13d80559bd89661d3bb [
file
]
// TARGET_BACKEND: JVM
fun f
(
x
:
Throwable
)
{
throw
x
}
fun f
(
x
:
Exception
)
{
throw
x
}
fun f
(
x
:
RuntimeException
)
{
throw
x
}
fun f
(
x
:
Error
)
{
throw
x
}
fun f
(
x
:
AssertionError
)
{
throw
x
}
// 0 CHECKCAST