aboutsummaryrefslogtreecommitdiff
path: root/check/for.p
diff options
context:
space:
mode:
Diffstat (limited to 'check/for.p')
-rw-r--r--check/for.p11
1 files changed, 11 insertions, 0 deletions
diff --git a/check/for.p b/check/for.p
new file mode 100644
index 0000000..5391c8c
--- /dev/null
+++ b/check/for.p
@@ -0,0 +1,11 @@
+program main ( input, output );
+
+ var a, b,c: integer;
+begin
+
+ a := 1;
+ (* test *)
+ for c := 0 to 10 do begin
+ for a:= 10 downto 0 do b := a - c
+ end
+end.