Added/updated tests for LexicalScope.

This commit is contained in:
Svetlana Isakova
2014-03-05 19:32:10 +04:00
parent 2cfcd1783b
commit 006f3ccbe9
81 changed files with 1404 additions and 604 deletions
@@ -4,10 +4,10 @@ fun foo(a: Array<Int>) {
}
---------------------
L0:
<START>
1 <START>
v(a: Array<Int>)
w(a)
mark({ a[0] += 1 })
2 mark({ a[0] += 1 })
mark(a[0] += 1)
mark(a[0])
r(a)
@@ -21,7 +21,7 @@ L0:
r(1)
call(a[0], set)
L1:
<END> NEXT:[<SINK>]
1 <END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink: