2ded62c53e
This directive doesn't have a lot of meaning. It is always set this way that we are getting text file with the same name as test file.
20 lines
299 B
Kotlin
Vendored
20 lines
299 B
Kotlin
Vendored
// KIND: STANDALONE_LLDB
|
|
|
|
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")
|
|
}
|