mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
10 lines
123 B
Kotlin
10 lines
123 B
Kotlin
open class Base() {
|
|
fun f() = 1
|
|
}
|
|
|
|
open class Left() : Base()
|
|
|
|
trait Right : Base
|
|
|
|
class Diamond() : Left(), Right
|