Files
kotlin/compiler/testData/codegen/bytecodeText/traitImplGeneratedOnce.kt
2015-05-12 19:43:17 +02:00

16 lines
251 B
Kotlin

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\$\$TImpl.foo
// Only two declarations should be present: in A and B
// 2 foo\(\)I