Test suite results for test file tbs/tb0391.pp

Test run data :

Run ID:
Operating system: solaris
Processor: sparc
Version: 3.3.1
Fails/OK/Total: 61/9094/9155
Version: 3.3.1
Full version: 3.3.1-15676-g47aafe0-unpushed
Comment: -O2 -Xn -Cg -Fd
Machine: unstable10s
Category: 1
SVN revisions: 485b31d:47aafe0:e657d6a:485b31d
Submitter: pierre
Date: 2024/05/08 01:34:00 <> 2024/05/07
Previous run: 946867
Next run: 948733

Hide skipped tests

Hide successful tests

Test file "tbs/tb0391.pp" information:

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

Detailed test run results:

tr_idruntr_oktr_skiptr_result
522566551947715TrueFalseSuccessfully run

Record count: 1

No log of 947715.

Source:

{ %version=1.1 }

{$ifdef fpc}{$mode objfpc}{$endif}
uses ub0391;

type
  tc1 = class
    procedure p1(l:longint);
    procedure p2;
  end;

procedure tc1.p1(l:longint);
begin
  writeln('longint: ',l);
end;


procedure tc1.p2;
var
  c2 : tc2;
begin
  c2:=tc2.create;
  { the next code should take tc1.p1(longint) as the tc2.p1 can not
    be seen from here! }
  with c2 do
   p1(100);
  c2.free;
end;


var
  c1 : tc1;
begin
  c1:=tc1.create;
  c1.p2;
  c1.free;
end.

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