Test suite results for test file tbs/tb0336.pp

Test run data :

Run ID:
Operating system: linux
Processor: x86_64
Version: 3.2.3
Fails/OK/Total: 26/8128/8154
Version: 3.2.3
Full version: 3.2.3-1376-gbff5cbd342
Comment: -gl -Fl/lib -Fl/lib64 -Fl/usr/lib -Fl/usr/lib64 -Fl/usr/lib64/gcc/x86_64-suse-linux/7 -Fl/usr/x86_64-suse-linux/lib -Cg -gwl -Fd
Machine: gcc188
Category: 1
SVN revisions: bff5cbd342:c17a0e20f5:4f3b6199df:d1c29e6cb9
Submitter: pierre
Date: 2024/05/06 03:32:00 <> 2024/05/04
Previous run: 945832
Next run: 947894

Hide skipped tests

Hide successful tests

Test file "tbs/tb0336.pp" information:

t_id 555
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
514626613946438TrueFalseSuccessfully run

Record count: 1

No log of 946438.

Source:

var
   l : longint;
   d : dword;
   s : string;
   code : integer;

procedure do_error(l : longint);

  begin
     writeln('Error near number ',l);
     halt(1);
  end;

begin
   s:='4294967295';
   val(s,d,code);
   if code<>0 then
     do_error(1);
   s:='4294967296';
   val(s,d,code);
   if code=0 then
     do_error(1);

   s:='2147483647';
   val(s,l,code);
   if code<>0 then
     do_error(3);
   s:='2147483648';
   val(s,l,code);
   if code=0 then
     do_error(4);
   s:='-2147483648';
   val(s,l,code);
   if code<>0 then
     do_error(5);
   s:='-2147483649';
   val(s,l,code);
   if code=0 then
     do_error(6);
end.

Link to SVN view of tbs/tb0336.pp source.