Test suite results for test file test/tclass1.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 "test/tclass1.pp" information:

t_id 14
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/10/19 09:39:00 55 2024/10/19 19:27:00 38
i386 5 10.0 2024/10/19 09:39:00 55 2024/10/19 11:13:00 63
m68k 2 4.0 2024/10/19 09:50:00 39 2024/10/19 10:22:00 40
sparc 1 2.0 2024/10/19 11:16:00 40 2024/10/19 11:16:00 40
powerpc 5 10.0 2024/10/19 10:03:00 203 2024/10/19 13:52:00 63
arm 1 2.0 2024/10/19 10:03:00 32 2024/10/19 10:03:00 32
x86_64 10 20.0 2024/10/19 10:50:00 30 2024/10/19 13:36:00 24
powerpc64 7 14.0 2024/10/19 10:07:00 49 2024/10/19 15:30:00 70
mipsel 2 4.0 2024/10/19 09:59:00 38 2024/10/19 10:35:00 142
aarch64 9 18.0 2024/10/19 17:12:00 31 2024/10/19 19:27:00 38
wasm32 5 10.0 2024/10/19 17:01:00 237 2024/10/19 19:09:00 195
sparc64 2 4.0 2024/10/19 10:46:00 141 2024/10/19 11:33:00 117
riscv64 1 2.0 2024/10/19 11:10:00 26 2024/10/19 11:10:00 26
linux 18 36.0 2024/10/19 09:40:00 209 2024/10/19 11:38:00 25
go32v2 3 6.0 2024/10/19 09:39:00 55 2024/10/19 11:13:00 63
solaris 8 16.0 2024/10/19 13:22:00 24 2024/10/19 13:36:00 24
darwin 9 18.0 2024/10/19 17:12:00 31 2024/10/19 19:27:00 38
aix 7 14.0 2024/10/19 10:31:00 61 2024/10/19 15:30:00 70
wasi 5 10.0 2024/10/19 17:01:00 237 2024/10/19 19:09:00 195
3.3.1 40 80.0 2024/10/19 09:39:00 55 2024/10/19 19:27:00 38
3.2.3 10 20.0 2024/10/19 10:31:00 61 2024/10/19 13:36:00 24

Source:

{ %VERSION=1.1 }
{$mode objfpc}

type
   to1 = class
      constructor create;
      procedure afterconstruction;override;
   end;

   to2 = class(to1)
      constructor create;
      procedure afterconstruction;override;
   end;

var
   i : longint;

   constructor to1.create;

     begin
        writeln('to1.create');
        inherited create;
        if i<>1000 then
          halt(1);
        i:=2000;
     end;

   constructor to2.create;

     begin
        writeln('to2.create');
        if i<>3000 then
          halt(1);
        i:=1000;
        inherited create;
        i:=4000;
     end;

   procedure to1.afterconstruction;

     begin
        writeln('to1.afterconstruction');
        if i<>2000 then
          halt(1);
        i:=3000;
     end;

   procedure to2.afterconstruction;

     begin
        writeln('to2.afterconstruction');
        if i<>4000 then
          halt(1);
        i:=5000;
     end;

var
   o1 : to1;
   o2 : to2;
begin
   i:=1000;
   o1:=to1.create;
   o2:=to2.create;
   if i<>5000 then
     halt(1);
   o1.destroy;
   writeln('ok');
end.

Link to SVN view of test/tclass1.pp source.