[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:
+21
@@ -0,0 +1,21 @@
|
||||
// KIND: STANDALONE_LLDB
|
||||
// FREE_COMPILER_ARGS: -Xg-generate-debug-trampoline=enable
|
||||
// LLDB_TRACE: kt33364.txt
|
||||
// FILE: kt33364.kt
|
||||
fun main() {
|
||||
val param = 3
|
||||
|
||||
//breakpoint here (line: 8, breakpoint is set to 9th line)
|
||||
when(param) {
|
||||
1 -> print("A")
|
||||
2 -> print("B")
|
||||
else -> print("C")
|
||||
}
|
||||
|
||||
// breakpoint here (line: 15, breakpoint is set to 16th line)
|
||||
when {
|
||||
param == 1 -> print("A")
|
||||
param == 2 -> print("B")
|
||||
else -> print("C")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user