Files
kotlin-fork/compiler/testData/diagnostics/tests/inlineClasses/inlineClassImplementsCollection.kt
T
2021-02-25 16:06:47 +01:00

14 lines
460 B
Kotlin
Vendored

// FIR_IDENTICAL
// !LANGUAGE: +InlineClasses, -JvmInlineValueClasses
inline class UInt(val x: Int)
inline class UIntArray(private val storage: IntArray) : Collection<UInt> {
public override val size: Int get() = storage.size
override operator fun iterator() = TODO()
override fun contains(element: UInt): Boolean = TODO()
override fun containsAll(elements: Collection<UInt>): Boolean = TODO()
override fun isEmpty(): Boolean = TODO()
}