mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 03:28:00 +02:00
19 lines
311 B
ObjectPascal
19 lines
311 B
ObjectPascal
{ Source provided for Free Pascal Bug Report 3534 }
|
|
{ Submitted by "Mattias Gaertner" on 2005-01-08 }
|
|
{ e-mail: mattias@freepascal.org }
|
|
program IntToStrSmallIntBug;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
SysUtils;
|
|
|
|
var
|
|
i: SmallInt;
|
|
begin
|
|
i:=-3;
|
|
writeln(IntToStr(i));
|
|
if IntToStr(i)<>'-3' then
|
|
halt(1);
|
|
end.
|