added DataFlowInfoTest

This commit is contained in:
Svetlana Isakova
2014-03-05 16:27:38 +04:00
parent ab9e470ea9
commit 88f2c32724
16 changed files with 543 additions and 7 deletions
@@ -0,0 +1,21 @@
== A ==
class A {
{
x = 1
}
val x: Int
}
---------------------
L0:
<START> INIT: in: {} out: {}
mark({ x = 1 })
r(1) USE: in: {x=ONLY_WRITTEN_NEVER_READ} out: {x=ONLY_WRITTEN_NEVER_READ}
w(x) INIT: in: {} out: {x=I} USE: in: {} out: {x=ONLY_WRITTEN_NEVER_READ}
v(val x: Int) INIT: in: {x=I} out: {x=ID}
L1:
<END> INIT: in: {x=ID} out: {x=ID}
error:
<ERROR> INIT: in: {} out: {}
sink:
<SINK> INIT: in: {x=ID} out: {x=ID} USE: in: {} out: {}
=====================