summaryrefslogtreecommitdiff
path: root/tests/vm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm')
-rw-r--r--tests/vm/add_products.elna3
-rw-r--r--tests/vm/printi_quotient.elna3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/vm/add_products.elna b/tests/vm/add_products.elna
new file mode 100644
index 0000000..a5c116f
--- /dev/null
+++ b/tests/vm/add_products.elna
@@ -0,0 +1,3 @@
+proc main() {
+ printi(2 * 3 + 4 * 8);
+}
diff --git a/tests/vm/printi_quotient.elna b/tests/vm/printi_quotient.elna
new file mode 100644
index 0000000..0f30f4d
--- /dev/null
+++ b/tests/vm/printi_quotient.elna
@@ -0,0 +1,3 @@
+proc main() {
+ printi(4 / 2);
+}