Files
kotlin-fork/compiler/testData/ir/irText/expressions/throw.kt.txt
T

13 lines
155 B
Plaintext
Vendored

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