99966c17da
Add some unrelated tests for fake overrides
20 lines
195 B
Kotlin
Vendored
20 lines
195 B
Kotlin
Vendored
package testing
|
|
|
|
interface I {
|
|
fun <caret>f() {
|
|
|
|
}
|
|
}
|
|
|
|
class A(i: I) : I by i
|
|
|
|
class B(i: I) : I by i {
|
|
override fun f() {
|
|
}
|
|
}
|
|
|
|
class C(i: I) : I by i
|
|
|
|
// REF: (in testing.B).f()
|
|
|