mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
18 lines
237 B
Kotlin
Vendored
18 lines
237 B
Kotlin
Vendored
// B.kt
|
|
// See also KT-8344: INVOKESPECIAL instead of INVOKEVIRTUAL in accessor
|
|
|
|
package second
|
|
|
|
import first.A
|
|
|
|
public abstract class B(): A() {
|
|
val value = {
|
|
test()
|
|
}
|
|
}
|
|
|
|
class C: B() {
|
|
override fun test() = "OK"
|
|
}
|
|
|