Files
kotlin-fork/compiler/testData/codegen/box/intrinsics/longRangeWithExplicitDot.kt
T
2018-07-25 14:51:08 +03:00

6 lines
150 B
Kotlin
Vendored

fun box(): String {
val l: Long = 1
val l2: Long = 2
val r = l.rangeTo(l2)
return if (r.start == l && r.endInclusive == l2) "OK" else "fail"
}