2ded62c53e
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.
21 lines
300 B
Kotlin
Vendored
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
|
|
} |