Test suite results for test file tbs/tb0394.pp

Test run data :

Run ID:
Operating system: solaris
Processor: sparc
Version: 3.3.1
Fails/OK/Total: 58/9100/9158
Version: 3.3.1
Full version: 3.3.1-15627-g64f2e4b-unpushed
Comment: -Xn -Fd
Machine: unstable10s
Category: 1
SVN revisions: e601156:d3fd0b8:64f2e4b:6a10963
Submitter: pierre
Date: 2024/04/28 11:23:00
Previous run: 940413
Next run: 941920

Hide skipped tests

Hide successful tests

Test file "tbs/tb0394.pp" information:

t_id 611
t_version 1.1
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
482115413941174TrueFalseSuccessfully run

Record count: 1

No log of 941174.

Source:

{ %version=1.1 }

{$ifdef fpc}{$mode objfpc}{$endif}
{$apptype console}
var
  err : boolean;
procedure Demo(x:array of longint);
 var
  i:longint;
 begin
   if high(x)<>4 then
    err:=true
   else if x[4]<>14 then
    err:=true;
  for i:=low(x)to high(x)do
   writeln(i,' ',x[i]);
 end;
var
 y:array[10..40]of longint;
 i:longint;
begin
 for i:=10 to 40 do
  y[i]:=i;
 Demo(slice(y,5));
 if err then
  begin
    writeln('ERROR!');
    halt(1);
  end;
end.

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