summaryrefslogtreecommitdiff
path: root/ecomp-c/test1.e
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-06-25 15:52:55 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-06-25 15:52:55 +0200
commit352e9a365a88c33d623ac7cd5ba637770e69c047 (patch)
tree67b7a843f5d551cab7750c7c8c2bcf6b12762eff /ecomp-c/test1.e
parent48be51947919d7a12ff22b2f31cdca1d4167f782 (diff)
downloadcompilertests-352e9a365a88c33d623ac7cd5ba637770e69c047.tar.gz
compilertests-352e9a365a88c33d623ac7cd5ba637770e69c047.tar.bz2
ec: avoid strange eof errors when using / instead of div
Diffstat (limited to 'ecomp-c/test1.e')
-rw-r--r--ecomp-c/test1.e2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecomp-c/test1.e b/ecomp-c/test1.e
index e9e2cec..cc1c9f1 100644
--- a/ecomp-c/test1.e
+++ b/ecomp-c/test1.e
@@ -72,4 +72,6 @@ begin
end;
a1[4] := 42;
s2[a1[2]] := 'Z';
+ while i < i div 2 do
+ end
end