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

t_id 437
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/20 23:33:00 38 2024/05/21 01:25:00 26
i386 24 48.0 2024/05/20 23:41:00 23 2024/05/21 01:25:00 24
sparc 12 24.0 2024/05/20 23:33:00 38 2024/05/20 23:55:00 41
x86_64 9 18.0 2024/05/20 23:44:00 14 2024/05/21 01:25:00 26
powerpc64 2 4.0 2024/05/21 01:10:00 101 2024/05/21 01:11:00 108
aarch64 2 4.0 2024/05/21 00:12:00 32 2024/05/21 00:58:00 35
sparc64 1 2.0 2024/05/20 23:47:00 148 2024/05/20 23:47:00 148
linux 37 74.0 2024/05/20 23:44:00 14 2024/05/21 01:25:00 26
win32 1 2.0 2024/05/20 23:41:00 23 2024/05/20 23:41:00 23
solaris 12 24.0 2024/05/20 23:33:00 38 2024/05/20 23:55:00 41
3.3.1 29 58.0 2024/05/20 23:37:00 42 2024/05/21 01:23:00 31
3.2.3 21 42.0 2024/05/20 23:33:00 38 2024/05/21 01:25:00 26

Source:

{ Old file: tbs0239.pp }
{ No warning for uninitialized class in IS statements  OK 0.99.11 (PM) }

{$mode delphi}
  uses
    sysutils;

   type
     ttest=class
     end;
     ttest2 = class(ttest)
     end;
     ttestclass=class of ttest;
   var
     i,j:ttest;
     tt:tclass;
   begin
     tt:=ttest;
     i:=ttest.create;
     j:=ttest2.create;
     Writeln('tt is a class of ttest initialized by "tt:=ttest"');
     Writeln('i is a ttest class initialized by "i:=ttest.create"');
     Writeln('j is a ttest class initialized by "j:=ttest2.create"');
     writeln('i is tobject ',i is tobject);
     if not(i is tobject) then
       Halt(1);
     writeln('i is tt ',i is tt);
     if not(i is tt) then
       Halt(1);
     writeln('i is ttest ',i is ttest);
     if not(i is ttest) then
       Halt(1);
     writeln('i is ttest2 ',i is ttest2);
     if (i is ttest2) then
       Halt(1);
     writeln('j is tobject ',j is tobject);
     if not(j is tobject) then
       Halt(1);
     writeln('j is tt ',j is tt);
     if not(j is tt) then
       Halt(1);
     writeln('j is ttest ',j is ttest);
     if not(j is ttest) then
       Halt(1);
     writeln('j is ttest2 ',j is ttest2);
     if not(j is ttest2) then
       Halt(1);
   end.

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