summaryrefslogtreecommitdiff
path: root/ecomp-c/test1.e
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-03-30 20:09:17 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-03-30 20:09:17 +0200
commit3c5955a3a64114426ed4c334a420e214a3e0e76d (patch)
tree935a191c6d00c9dc7e9251322f9e5c81702a65f6 /ecomp-c/test1.e
parent1544c04dfeda290f59e3585b9e5bba526618da32 (diff)
downloadcompilertests-3c5955a3a64114426ed4c334a420e214a3e0e76d.tar.gz
compilertests-3c5955a3a64114426ed4c334a420e214a3e0e76d.tar.bz2
on the way to an if
Diffstat (limited to 'ecomp-c/test1.e')
-rw-r--r--ecomp-c/test1.e3
1 files changed, 3 insertions, 0 deletions
diff --git a/ecomp-c/test1.e b/ecomp-c/test1.e
index 1a8f253..74a2f2c 100644
--- a/ecomp-c/test1.e
+++ b/ecomp-c/test1.e
@@ -39,4 +39,7 @@ begin
flag := a <= b; // flag should be false
flag := a > b; // flag should be true
flag := a >= b; // flag should be false
+ if flag do
+ a := 9;
+ end;
end