diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/expectations/two_variables.txt | 2 | ||||
| -rw-r--r-- | tests/vm/two_variables.elna | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/expectations/two_variables.txt b/tests/expectations/two_variables.txt new file mode 100644 index 0000000..d763264 --- /dev/null +++ b/tests/expectations/two_variables.txt @@ -0,0 +1,2 @@ +58 +28 diff --git a/tests/vm/two_variables.elna b/tests/vm/two_variables.elna new file mode 100644 index 0000000..c129efa --- /dev/null +++ b/tests/vm/two_variables.elna @@ -0,0 +1,10 @@ +proc main() { + var i: int; + var j: int; + + i := 58; + j := 28; + + printi(i); + printi(j); +} |
