summaryrefslogtreecommitdiff
path: root/tests/vm/printi_if_not_compound.elna
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm/printi_if_not_compound.elna')
-rw-r--r--tests/vm/printi_if_not_compound.elna9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/vm/printi_if_not_compound.elna b/tests/vm/printi_if_not_compound.elna
new file mode 100644
index 0000000..1149a35
--- /dev/null
+++ b/tests/vm/printi_if_not_compound.elna
@@ -0,0 +1,9 @@
+proc main() {
+ if (1 # 2) {
+ printi(3);
+ printi(7);
+ } else {
+ printi(5);
+ printi(9);
+ }
+}