mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-03 03:08:10 +01:00
* new bug
This commit is contained in:
parent
6091cd2824
commit
8b4a122d49
17
tests/webtbs/tw2841.pp
Normal file
17
tests/webtbs/tw2841.pp
Normal file
@ -0,0 +1,17 @@
|
||||
{ %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.
|
||||
Loading…
Reference in New Issue
Block a user