mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
9 lines
91 B
Kotlin
9 lines
91 B
Kotlin
// C
|
|
|
|
trait Base {
|
|
fun foo(): Any
|
|
}
|
|
|
|
class C : Base {
|
|
override fun foo(): Unit {}
|
|
} |