Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
21de67cac1bef9259daa407b68a12e178923aef3
/
.
/
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"
}