fpc/tests/webtbs/tw9108.pp
Jonas Maebe 3d5d454a05 + new test (already works)
git-svn-id: trunk@7784 -
2007-06-23 13:44:06 +00:00

12 lines
176 B
ObjectPascal

program bug;
function Func(a:longint): longint;
begin
if (a >= 0) then Func:=Trunc(1.0*a) else Func:=-Trunc(1.0*a);
end;
begin
if Func(100) <> 100 then
halt(1);
end.