blob: fe3d0cab13333a8507c8f0d12dd49bd0d63c1eb7 [file] [log] [blame]
class Test<T> : Collection<T> {
override val size: Int get() = TODO()
override fun contains(element: T): Boolean = TODO()
override fun containsAll(elements: Collection<T>): Boolean = TODO()
override fun isEmpty(): Boolean = TODO()
override fun iterator(): Iterator<T> = TODO()
internal fun remove(x: T): Boolean = false
}
fun box(): String {
return if (Test<String>().remove("") == false)
"OK"
else
"Fail"
}