summaryrefslogtreecommitdiff
path: root/ecomp-c/test1.e
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-09-01 21:40:55 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-09-01 21:40:55 +0200
commit61040752b20704addeae0d434f67f977882abcaf (patch)
tree1646223467be2f7e230f8e78ce8dc736a906053a /ecomp-c/test1.e
parent08beb5d4387cc1269a78fa7b97d0d64fbd43fb73 (diff)
downloadcompilertests-61040752b20704addeae0d434f67f977882abcaf.tar.gz
compilertests-61040752b20704addeae0d434f67f977882abcaf.tar.bz2
some more work on parameter checking
Diffstat (limited to 'ecomp-c/test1.e')
-rw-r--r--ecomp-c/test1.e4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecomp-c/test1.e b/ecomp-c/test1.e
index 907e595..23fdaad 100644
--- a/ecomp-c/test1.e
+++ b/ecomp-c/test1.e
@@ -52,10 +52,10 @@ var
x : integer;
begin
- if( f ) {
+ if f do
x := n + m;
a1[4] := x;
- }
+ end
end
begin