[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,16 @@
|
||||
// KIND: STANDALONE_LLDB
|
||||
// LLDB_TRACE: kt42208WithVariable.txt
|
||||
// FILE: kt42208-1.kt
|
||||
fun main() {
|
||||
val a = foo()
|
||||
a()
|
||||
a()
|
||||
a()
|
||||
}
|
||||
// FILE: kt42208-2.kt
|
||||
// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
class A
|
||||
val list = mutableListOf<A>()
|
||||
inline fun foo() = { ->
|
||||
list.add(A())
|
||||
}
|
||||
Reference in New Issue
Block a user