[K/N] Migrate LLDB test to blackboxtest
This change only introduces a single sample test together with the necessary plumbing for basic LLDB testing. Migrating the rest of the tests over and introducing more complex interop setups will be tackled as a follow-up.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// KIND: STANDALONE_LLDB
|
||||
// LLDB_TRACE: canInspectCatchParameter.txt
|
||||
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")
|
||||
}
|
||||
Reference in New Issue
Block a user