mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
10 lines
98 B
Kotlin
10 lines
98 B
Kotlin
//KT-2382
|
|
|
|
trait T {
|
|
final fun foo() = "OK"
|
|
}
|
|
|
|
class S : T { }
|
|
|
|
fun box(): String = S().foo()
|