238cc7c257
143 out of 767 tests (18.6%) are currently failing.
9 lines
313 B
Kotlin
Vendored
9 lines
313 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun test1(a: String) = a in "alpha" .. "omega"
|
|
fun test2(a: String) = a !in "alpha" .. "omega"
|
|
fun <T : Comparable<T>> test3(x: T, left: T, right: T) = x in left .. right
|
|
fun <T : Enum<T>> test4(x: T, left: T, right: T) = x in left .. right
|
|
|
|
// 0 rangeTo
|
|
// 0 contains
|
|
// 8 compareTo |