f5ff3d2fa9
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
10 lines
193 B
Kotlin
Vendored
10 lines
193 B
Kotlin
Vendored
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
|
|
|