fpc/tests/webtbs/tw23963.pp
2013-04-29 01:12:45 +00:00

15 lines
300 B
ObjectPascal

{$mode objfpc}
var
Dividend, Divisor, Quotient : QWord;
begin
Dividend := QWord( $ffffffffffffffff );
Divisor := QWord( $100000003 );
Quotient := dividend div divisor;
if quotient <> $FFFFFFFD then
Halt(1);
Quotient := dividend mod divisor;
if quotient <> 8 then
Halt(2);
end.