238cc7c257
143 out of 767 tests (18.6%) are currently failing.
20 lines
447 B
Kotlin
Vendored
20 lines
447 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun testPrimitiveArray(i: Int, ints: IntArray) = i in ints.indices
|
|
|
|
fun testObjectArray(i: Int, xs: Array<Any>) = i in xs.indices
|
|
|
|
fun testLongWithPrimitiveArray(i: Long, ints: IntArray) = i in ints.indices
|
|
|
|
fun testLongWithObjectArray(i: Long, xs: Array<Any>) = i in xs.indices
|
|
|
|
// 0 getIndices
|
|
// 0 contains
|
|
// 2 I2L
|
|
// 4 ARRAYLENGTH
|
|
// 2 LCONST_0
|
|
|
|
// JVM_TEMPLATES
|
|
// 6 ICONST_0
|
|
|
|
// JVM_IR_TEMPLATES
|
|
// 10 ICONST_0 |