Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
box
/
increment
/
extOnLong.kt
blob: 9dce4e9da958ea70675fa0ff9dbbf673ccabf05a [
file
]
operator
fun
Long
.
get
(
i
:
Int
)
=
this
operator
fun
Long
.
set
(
i
:
Int
,
newValue
:
Long
)
{}
fun box
():
String
{
var
x
=
0L
val y
=
x
[
0
]++
return
if
(
y
==
0L
)
"OK"
else
"Failed, y=$y"
}