Browse Source

* new bug

peter 22 năm trước cách đây
mục cha
commit
8b4a122d49
1 tập tin đã thay đổi với 17 bổ sung0 xóa
  1. 17 0
      tests/webtbs/tw2841.pp

+ 17 - 0
tests/webtbs/tw2841.pp

@@ -0,0 +1,17 @@
+{ %opt=-Sew }
+
+{ Source provided for Free Pascal Bug Report 2841 }
+{ Submitted by "Mattias Gaertner" on  2003-12-09 }
+{ e-mail: [email protected] }
+program ShortStringNotInitialized;
+
+{$mode objfpc}{$H+}
+
+procedure DoSomething;
+var s: shortstring;
+begin
+  s[1]:=chr(3);
+end;
+
+begin
+end.