blob: ea86294a3b9312cce79ce926af36d16db33ac318 [file]
// KIND: STANDALONE_LLDB
// FIR_IDENTICAL
fun main() {
try {
throw Exception("message 1")
} catch (e1: Throwable) {
println(e1.message)
}
try {
throwError()
} catch (e2: Throwable) {
println(e2.message)
}
}
fun throwError() {
throw Error("message 2")
}