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,28 @@
== C ==
class C {
fun component1() = 1
fun component2() = 2
}
---------------------
=====================
== component1 ==
fun component1() = 1
---------------------
1 <v0> NEW()
=====================
== component2 ==
fun component2() = 2
---------------------
2 <v0> NEW()
=====================
== test ==
fun test(c: C) {
val (a, b) = c
val d = 1
}
---------------------
a <v2> NEW(<v1>)
b <v3> NEW(<v1>)
c <v1> NEW()
1 <v4> NEW()
=====================