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,37 @@
== AnonymousInitializers ==
class AnonymousInitializers() {
val k = 34
val i: Int
{
$i = 12
}
val j: Int
get() = 20
{
$i = 13
}
}
---------------------
L0:
<START>
v(val k = 34)
r(34)
w(k)
v(val i: Int)
mark({ $i = 12 })
r(12)
w($i)
v(val j: Int get() = 20)
mark({ $i = 13 })
r(13)
w($i)
L1:
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================