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

t_id 365
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 08:40:00 51 2024/10/19 19:27:00 38
i386 3 6.0 2024/10/19 09:40:00 209 2024/10/19 11:13:00 63
m68k 1 2.0 2024/10/19 09:50:00 39 2024/10/19 09:50:00 39
sparc 1 2.0 2024/10/19 11:16:00 40 2024/10/19 11:16:00 40
powerpc 6 12.0 2024/10/19 08:40:00 51 2024/10/19 13:52:00 63
arm 2 4.0 2024/10/19 09:36:00 32 2024/10/19 10:03:00 32
x86_64 10 20.0 2024/10/19 09:32:00 37 2024/10/19 13:40:00 19
powerpc64 8 16.0 2024/10/19 10:06:00 62 2024/10/19 16:01:00 67
mipsel 1 2.0 2024/10/19 09:59:00 38 2024/10/19 09:59:00 38
aarch64 11 22.0 2024/10/19 09:32:00 28 2024/10/19 19:27:00 38
wasm32 3 6.0 2024/10/19 17:20:00 180 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
loongarch64 1 2.0 2024/10/19 09:45:00 25 2024/10/19 09:45:00 25
linux 19 38.0 2024/10/19 09:32:00 28 2024/10/19 11:33:00 117
go32v2 1 2.0 2024/10/19 11:13:00 63 2024/10/19 11:13:00 63
solaris 8 16.0 2024/10/19 13:24:00 25 2024/10/19 13:40:00 19
darwin 9 18.0 2024/10/19 17:12:00 31 2024/10/19 19:27:00 38
aix 10 20.0 2024/10/19 08:40:00 51 2024/10/19 16:01:00 67
wasi 3 6.0 2024/10/19 17:20:00 180 2024/10/19 19:09:00 195
3.3.1 37 74.0 2024/10/19 09:32:00 28 2024/10/19 19:27:00 38
3.2.3 13 26.0 2024/10/19 08:40:00 51 2024/10/19 13:40:00 19

Source:

{ Old file: tbs0137.pp }
{ Cannot assign child object variable to parent objcet type variable OK 0.99.6 }

program OO_Test;

Type TVater = Object
                Constructor Init;
                Procedure Gehen; Virtual;
                Procedure Laufen; Virtual;
              End;

     TSohn = Object(TVater)
               Procedure Gehen; Virtual;
             End;

Var V : TVater;
    S : TSohn;

Constructor TVater.Init;
Begin
End;

Procedure TVater.Gehen;
Begin
  Writeln('langsam gehen');
End;

Procedure TVater.Laufen;
Begin
  Gehen;
  Gehen;
End;

Procedure TSohn.Gehen;
Begin
  Writeln('schnell gehen');
End;

Begin
  V.Init;
  S.Init;
  V.Laufen;
  Writeln;
  S.Laufen;
  Writeln;
  V := S;
  V.Gehen;
End.

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