Files
kotlin-fork/compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt
T
Ilya Chernikov 78ca733c38 FIR JS: add K2 variants of all other JS tests
except tests that are not possible to add without some modifications in
the test infra. See todos on the commented-out test declarations
2022-11-12 16:28:24 +01:00

23 lines
382 B
Kotlin
Vendored

// !LANGUAGE: -AbstractClassMemberNotImplementedWithIntermediateAbstractClass
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
// FIR status: don't support legacy feature
// FILE: 1.kt
class Test: Impl(), CProvider
fun box() = "OK"
// FILE: 2.kt
open class C
class D: C()
interface CProvider {
fun getC(): C
}
interface DProvider {
fun getC(): D = D()
}
open class Impl: DProvider