Files
kotlin-fork/compiler/testData/cfg/arraySetPlusAssign.instructions
T
Andrey Breslav 6a4043c9a0 Do not display trivial sets of next/previous instructions in test data
For better readability of test failures
2013-12-05 13:02:17 +04:00

26 lines
494 B
Plaintext

== foo ==
fun foo(a: Array<Int>) {
a[0] += 1
}
---------------------
L0:
<START>
v(a: Array<Int>)
w(a)
r(a)
r(0)
call(a[0], get)
r(1)
call(+=, plus)
r(a)
r(0)
r(1)
call(a[0], set)
L1:
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================