Add tests for element -> pseudo-value mapping

This commit is contained in:
Alexey Sedunov
2014-05-19 18:32:03 +04:00
parent d2c055e9da
commit 4a5d2e6728
78 changed files with 3105 additions and 1 deletions
@@ -0,0 +1,18 @@
== foo ==
fun foo() {
"before"
do {
var a = 2
} while (a > 0)
"after"
}
---------------------
"before" <v0> NEW()
2 <v1> NEW()
a <v2> NEW()
> <v4> NEW(<v2>, <v3>)
0 <v3> NEW()
a > 0 <v4> COPY
"after" <v5> NEW()
{ "before" do { var a = 2 } while (a > 0) "after" } <v5> COPY
=====================