Files
kotlin-fork/native/native.tests/testData/lldb/kt61131.kt
T
Ivan Kylchik 2ded62c53e [Native] Drop LLDB_TRACE test directive
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.
2024-01-26 15:54:41 +00:00

21 lines
300 B
Kotlin
Vendored

// KIND: STANDALONE_LLDB
// FILE: kt61131-1.kt
class FooImpl : Foo {
override fun bar() = "zzz"
}
fun call_bar(foo: Foo) {
val s1 = foo.bar()
val s2 = foo.bar()
println(s1 + s2)
}
fun main() {
call_bar(FooImpl())
}
// FILE: kt61131-2.kt
interface Foo {
fun bar(): String
}