Files
kotlin-fork/compiler/testData/codegen/bytecodeText/interfaces/traitImplGeneratedOnce.kt
T
Mark Punzalan 238cc7c257 [FIR] Enable BytecodeText tests for FIR.
143 out of 767 tests (18.6%) are currently failing.
2020-09-29 10:21:21 +03:00

17 lines
286 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
interface A {
fun foo() = 42
}
open class B : A
open class C : B()
class D : C()
// Implementation of foo() should only be generated into B
// 1 INVOKESTATIC A\$DefaultImpls.foo
// Only two declarations should be present: in A and B
// 2 foo\(\)I