Test suite results for test file tbs/tb0388.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all tests

Test file "tbs/tb0388.pp" information:

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

Detailed test run results:

Record count: 50

Total = 50

OK=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Successfully run 50 100.0 2024/05/21 01:22:00 34 2024/05/21 02:38:00 0
i386 14 28.0 2024/05/21 01:22:00 34 2024/05/21 02:38:00 0
x86_64 32 64.0 2024/05/21 01:33:00 15 2024/05/21 02:36:00 0
aarch64 4 8.0 2024/05/21 01:42:00 32 2024/05/21 02:36:00 0
linux 50 100.0 2024/05/21 01:22:00 34 2024/05/21 02:38:00 0
3.3.1 27 54.0 2024/05/21 01:33:00 15 2024/05/21 02:36:00 0
3.2.3 23 46.0 2024/05/21 01:22:00 34 2024/05/21 02:38:00 0

Source:

{ %VERSION=1.1 }

{$ifdef fpc}{$mode objfpc}{$endif}
type
  tobj = class
      procedure proc1 (a: integer);virtual;
  end;

  tobj1 = class(tobj)
      procedure proc1 (a: integer);overload;override;
      procedure proc1 (a: char);overload;
  end;

  tobj2 = class (tobj1)
      procedure proc1 (a: integer);override;
  end;

procedure tobj.proc1 (a: integer);
begin
  write('tobj.proc1(a:integer) called: ');
  writeln (a);
end;

procedure tobj1.proc1 (a: integer);
begin
  write('tobj1.proc1(a:integer) called: ');
  writeln (a);
end;

procedure tobj1.proc1 (a: char);
begin
  write('tobj1.proc1(a:char) called: ');
  writeln (a);
end;

procedure tobj2.proc1 (a: integer);
begin
  write('tobj2.proc1(a:integer) called: ');
  writeln (a);
end;

var
    obj1: tobj1;
    obj2: tobj2;
begin
  obj1:=tobj1.create;
  obj2:=tobj2.create;

  obj2.proc1 (100);
  obj2.proc1 ('a');
end.

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