Files
kotlin-fork/compiler/testData/codegen/bytecodeText/ranges/inOptimizableUnsignedRange.kt
T
2020-08-21 21:15:27 +02:00

10 lines
254 B
Kotlin
Vendored

fun testUIntRangeLiteral(a: UInt, b: UInt) = 42u in a .. b
fun testULongRangeLiteral(a: ULong, b: ULong) = 42UL in a .. b
fun testUIntUntil(a: UInt, b: UInt) = 42u in a until b
fun testULongUntil(a: ULong, b: ULong) = 42UL in a until b
// 0 contains