Browse Source

* new bug

peter 20 years ago
parent
commit
913efc5b83
1 changed files with 18 additions and 0 deletions
  1. 18 0
      tests/webtbs/tw3669.pp

+ 18 - 0
tests/webtbs/tw3669.pp

@@ -0,0 +1,18 @@
+{ %opt=-Sew }
+
+{ Source provided for Free Pascal Bug Report 3669 }
+{ Submitted by "Mattias Gaertner" on  2005-02-19 }
+{ e-mail: [email protected] }
+program UninitializedArrayBounds;
+
+{$mode objfpc}{$H+}
+
+uses
+  Classes, SysUtils;
+
+var
+  a: array[1..2] of integer;
+  i: Integer;
+begin
+  for i:=Low(a) to High(a) do a[i]:=0;
+end.