mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
9 lines
107 B
Kotlin
Vendored
9 lines
107 B
Kotlin
Vendored
// C
|
|
|
|
interface Base<T> {
|
|
fun foo(t: T): T
|
|
}
|
|
|
|
class C : Base<Unit> {
|
|
override fun foo(t: Unit) {}
|
|
} |