[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:
+15
@@ -0,0 +1,15 @@
|
||||
// KIND: STANDALONE_LLDB
|
||||
// FREE_COMPILER_ARGS: -Xg-generate-debug-trampoline=enable
|
||||
// LLDB_TRACE: kt33055.txt
|
||||
// FILE: kt33055.kt
|
||||
fun question(subject: String, names: Array<String> = emptyArray()): String {
|
||||
return buildString { // breakpoint here
|
||||
append("$subject?") // actual stop
|
||||
for (name in names)
|
||||
append(" $name?")
|
||||
}
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println(question("Subject", args))
|
||||
}
|
||||
Reference in New Issue
Block a user