Files
kotlin-fork/compiler/testData/diagnostics/tests/multimodule/duplicateClass/collectionMethodStub.kt
T
Alexander Udalov 0d76634f6b Support SKIP_TXT directive in diagnostic tests
Don't render the whole 'kotlin' package in some tests, because test data will
change every time something is updated in built-ins
2015-04-29 01:36:20 +03:00

21 lines
365 B
Kotlin
Vendored

// FILE: f1.kt
// SKIP_TXT
package kotlin
class Unit
// FILE: f2.kt
class C: MutableIterator<Int> {
override fun remove(): Unit {
throw UnsupportedOperationException()
}
override fun next(): Int {
throw UnsupportedOperationException()
}
override fun hasNext(): Boolean {
throw UnsupportedOperationException()
}
}