Test data fixed: mark() instructions added

This commit is contained in:
Andrey Breslav
2013-12-04 14:30:41 +04:00
parent e09d3aab3a
commit 87879ba654
37 changed files with 1358 additions and 976 deletions
+12 -10
View File
@@ -4,17 +4,19 @@ fun foo(a: Array<Int>) {
}
---------------------
L0:
<START>
v(a: Array<Int>)
w(a)
r(a)
r(1)
r(2)
call(a[1], set)
<START>
v(a: Array<Int>)
w(a)
mark({ a[1] = 2 })
mark(a[1])
r(a)
r(1)
r(2)
call(a[1], set)
L1:
<END> NEXT:[<SINK>]
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
<SINK> PREV:[<ERROR>, <END>]
=====================