mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-30 21:33:42 +02:00
18 lines
292 B
ObjectPascal
18 lines
292 B
ObjectPascal
{ %opt=-Sew }
|
|
|
|
{ Source provided for Free Pascal Bug Report 2841 }
|
|
{ Submitted by "Mattias Gaertner" on 2003-12-09 }
|
|
{ e-mail: mattias@freepascal.org }
|
|
program ShortStringNotInitialized;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
procedure DoSomething;
|
|
var s: shortstring;
|
|
begin
|
|
s[1]:=chr(3);
|
|
end;
|
|
|
|
begin
|
|
end.
|