mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
All bytecode text tests are run with stdlib in the classpath and only for JVM backend, therefore directives WITH_RUNTIME, TARGET_BACKEND, IGNORE_BACKEND are not needed
9 lines
180 B
Kotlin
Vendored
9 lines
180 B
Kotlin
Vendored
fun testCollection(i: Int, xs: List<Any>) = i in xs.indices
|
|
|
|
fun testLongWithCollection(i: Long, xs: List<Any>) = i in xs.indices
|
|
|
|
// 0 getIndices
|
|
// 0 contains
|
|
// 2 size
|
|
// 1 I2L
|