15 lines
210 B
Kotlin
Vendored
15 lines
210 B
Kotlin
Vendored
interface IFooStr {
|
|
fun foo(x: String)
|
|
}
|
|
|
|
interface IBar {
|
|
val bar: Int
|
|
}
|
|
|
|
abstract class CFoo<T> {
|
|
fun foo(x: T) {}
|
|
}
|
|
|
|
class Test1 : CFoo<String>(), IFooStr, IBar {
|
|
override val bar: Int = 42
|
|
} |