Files
kotlin-fork/compiler/testData/codegen/bytecodeText/ranges/inOptimizableUnsignedRange.kt
T
2021-10-25 21:21:40 +03: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