Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
ranges
/
inOptimizableUnsignedRange.kt
blob: 271b06cb0e8657a6518873ca6f13d9ace5b167c2 [
file
]
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