Test suite results for test file tbs/tb0438.pp

Test run data :

Run ID:
Operating system: linux
Processor: powerpc
Version: 3.3.1
Fails/OK/Total: 44/9189/9233
Version: 3.3.1
Full version: 3.3.1-15623-g6a109634b0
Comment: -Xd -Fl/usr/lib32 -Fd -Fl/usr/lib/gcc/powerpc64-linux-gnu/13/32 -Fd
Machine: gcc203
Category: 1
SVN revisions: e601156b8c:0655b342d4:7629cdb4a5:6a109634b0
Submitter: pierre
Date: 2024/04/27 17:14:00
Previous run: 939145
Next run: 941876

Hide skipped tests

Hide successful tests

Test file "tbs/tb0438.pp" information:

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

Detailed test run results:

tr_idruntr_oktr_skiptr_result
477988340940507TrueFalseSuccessfully run

Record count: 1

No log of 940507.

Source:

{$ifdef fpc}{$mode objfpc}{$endif}

procedure p(a : array of const);
  var
    i : integer;
  begin
    for i:=low(a) to high(a) do
     begin
       write(i,': ');
       if (a[i].vtype=vtpchar) then
        begin
          writeln('"',a[i].vpchar,'"');
          if (a[i].vpchar<>'test') then
           begin
             writeln('Wrong string content');
             halt(1);
           end;
        end
       else
        begin
          writeln('No string type (',a[i].vtype,')');
          halt(1);
        end;
     end;
  end;

var
   a : array[0..25] of char;

begin
   a:='test';
   p([a,a]);
end.

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