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