restructured control flow tests

This commit is contained in:
Svetlana Isakova
2014-03-04 19:00:18 +04:00
parent fe349da4d5
commit ec47821567
85 changed files with 317 additions and 203 deletions
@@ -0,0 +1,23 @@
== foo ==
fun foo() {
var i = 1
i++
}
---------------------
L0:
<START>
mark({ var i = 1 i++ })
v(var i = 1)
r(1)
w(i)
mark(i++)
r(i)
call(++, inc)
w(i)
L1:
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================