mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
9 lines
185 B
Kotlin
9 lines
185 B
Kotlin
trait TestTrait : Simple {}
|
|
class Test : TestTrait {}
|
|
|
|
fun box(): String {
|
|
val test = Test().test("O")
|
|
if (test != "OK") return "fail $test"
|
|
|
|
return Simple.testStatic("O")
|
|
} |