Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/collectionStubs/kt44233.kt
T
Ilya Chernikov 5b3816cce5 Test infra: refactor IGNORE_BACKEND directive
treat it as a general one, introduce *_K1 and *_K2 variants for
more specific ignoring
2022-11-12 16:28:23 +01:00

14 lines
353 B
Kotlin
Vendored

// IGNORE_BACKEND_K2: JVM_IR
// FULL_JDK
import java.util.concurrent.*
class Test1 : Iterable<String> {
private val received = ConcurrentSkipListSet<String>()
override fun iterator() = received.iterator()
}
class Test2 : Iterable<String> {
private val received = Array<String>(0) { "" }
override fun iterator() = received.iterator()
}