mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
9 lines
142 B
Kotlin
Vendored
9 lines
142 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
|
|
interface A<T> {
|
|
fun foo(a: T)
|
|
}
|
|
|
|
inline class Foo(val x: Long) : A<Foo> {
|
|
override fun foo(a: Foo) {}
|
|
} |