Files
kotlin-fork/compiler/testData/codegen/box/ranges/rangeContainsString.kt
T
Alexander Udalov 20e36438e2 Move some tests from boxWithStdlib/ to box/
Move those tests which do not require neither stdlib nor reflect
2016-03-09 10:25:38 +03:00

6 lines
126 B
Kotlin
Vendored

operator fun IntRange.contains(s: String): Boolean = true
fun box(): String {
return if ("s" in 0..1) "OK" else "fail"
}