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