Files
kotlin-fork/compiler/testData/codegen/box/traits/kt3579.kt
T
2015-05-18 11:57:39 +03:00

8 lines
199 B
Kotlin
Vendored

open class Persistent(val p: String)
interface Hierarchy<T: Persistent > where T : Hierarchy<T>
class Location(): Persistent("OK"), Hierarchy<Location>
fun box(): String {
return Location().p
}