Files
kotlin/compiler/testData/codegen/bytecodeText/ranges/inCharSequenceIndices.kt
2018-12-21 16:20:45 +01:00

11 lines
219 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
fun testCharSequence(i: Int, cs: CharSequence) = i in cs.indices
fun testLongWithCharSequence(i: Long, cs: CharSequence) = i in cs.indices
// 0 getIndices
// 0 contains
// 2 length
// 1 I2L