Files
kotlin-fork/compiler/testData/ir/irText/expressions/throw.fir.kt.txt
T
2020-11-26 00:15:13 +03:00

10 lines
131 B
Plaintext
Vendored

fun test1() {
throw Throwable()
}
fun testImplicitCast(a: Any) {
when {
a is Throwable -> throw a /*as Throwable */
}
}