f4fdc66a34
This commit also includes several FIR2IR fixes which helps FIR compiler to produce normal results
12 lines
156 B
Kotlin
Vendored
12 lines
156 B
Kotlin
Vendored
fun box(): String = "OK"
|
|
|
|
|
|
class E(s: String) : Exception(s) {
|
|
|
|
}
|
|
|
|
fun main(args: Array<String>) {
|
|
if (box() == "OK") {
|
|
throw E("Hello")
|
|
}
|
|
} |