Files
kotlin-fork/compiler/testData/codegen/bytecodeText/ranges/inOptimizableUnsignedRange.kt
T
Mark Punzalan 238cc7c257 [FIR] Enable BytecodeText tests for FIR.
143 out of 767 tests (18.6%) are currently failing.
2020-09-29 10:21:21 +03:00

11 lines
284 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
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