mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
12 lines
124 B
Kotlin
12 lines
124 B
Kotlin
trait N
|
|
|
|
open class Base(n: N)
|
|
|
|
class Derived : Base(object: N{}) {
|
|
|
|
}
|
|
|
|
fun box() : String {
|
|
Derived()
|
|
return "OK"
|
|
} |