blob: 133c57818674db5a5cdbfe31e6ec1694c8ffed37 [file]
// JVM_DEFAULT_MODE: disable
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