mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 23:28:28 +02:00
17 lines
203 B
ObjectPascal
17 lines
203 B
ObjectPascal
{ %OPT=-O- -O1 }
|
|
program testbug;
|
|
{$mode objfpc}{$h+}
|
|
var
|
|
i: Integer;
|
|
b: Byte;
|
|
w: Word;
|
|
begin
|
|
i := 53;
|
|
b := 0;
|
|
w := abs(i-b);
|
|
WriteLn(w);
|
|
if w<>53 then
|
|
halt(1);
|
|
Writeln('ok');
|
|
end.
|