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