Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
cae7f90b594750d624e94b3325571f4b5ebff2f0
/
.
/
compiler
/
testData
/
ir
/
irText
/
expressions
/
kt28456.kt
blob: 8d9dd0e7c56f3ce070d986646362708ed9de71a7 [
file
] [
log
] [
blame
]
class
A
operator
fun A
.
get
(
vararg xs
:
Int
)
=
0
operator
fun A
.
set
(
i
:
Int
,
j
:
Int
,
v
:
Int
)
{}
fun testSimpleAssignment
(
a
:
A
)
{
a
[
1
,
2
]
=
0
}
fun testPostfixIncrement
(
a
:
A
)
=
a
[
1
,
2
]++
fun testCompoundAssignment
(
a
:
A
)
{
a
[
1
,
2
]
+=
10
}