summaryrefslogtreecommitdiff
path: root/ecomp-c/test1.e
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-06-28 08:44:23 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-06-28 08:44:23 +0200
commit94c2ac9790daff1f10252b474c1fc2fc17bd3cac (patch)
treef9c635f2e0aca9bb5a5c30391555aa837acbaa24 /ecomp-c/test1.e
parent04614fca7cf56ba12aebe5af7ae69a6adaa56b6f (diff)
downloadcompilertests-94c2ac9790daff1f10252b474c1fc2fc17bd3cac.tar.gz
compilertests-94c2ac9790daff1f10252b474c1fc2fc17bd3cac.tar.bz2
added forward procedure declarations and fixed some memory leaks
Diffstat (limited to 'ecomp-c/test1.e')
-rw-r--r--ecomp-c/test1.e4
1 files changed, 4 insertions, 0 deletions
diff --git a/ecomp-c/test1.e b/ecomp-c/test1.e
index b5c5edc..a9fbbe8 100644
--- a/ecomp-c/test1.e
+++ b/ecomp-c/test1.e
@@ -32,14 +32,18 @@ var
s2 : array 10 of character := "hello";
a1 : array 10 of integer;
+procedure B;
+
procedure A;
begin
a1[5] := 43;
+ B;
end
procedure B;
begin
a1[4] := 44;
+ A;
end
begin