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

t_id 1402
t_adddate 2004/11/28
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 19:35:00 26 2024/05/20 23:59:00 16
i386 17 34.0 2024/05/20 22:37:00 176 2024/05/20 23:54:00 24
m68k 1 2.0 2024/05/20 22:44:00 190 2024/05/20 22:44:00 190
sparc 20 40.0 2024/05/20 23:25:00 38 2024/05/20 23:52:00 41
powerpc 1 2.0 2024/05/20 23:05:00 185 2024/05/20 23:05:00 185
arm 1 2.0 2024/05/20 22:30:00 59 2024/05/20 22:30:00 59
x86_64 4 8.0 2024/05/20 19:35:00 26 2024/05/20 23:59:00 16
powerpc64 2 4.0 2024/05/20 23:13:00 213 2024/05/20 23:20:00 71
mips 1 2.0 2024/05/20 22:51:00 240 2024/05/20 22:51:00 240
mipsel 1 2.0 2024/05/20 22:58:00 148 2024/05/20 22:58:00 148
aarch64 1 2.0 2024/05/20 22:24:00 44 2024/05/20 22:24:00 44
sparc64 1 2.0 2024/05/20 23:47:00 148 2024/05/20 23:47:00 148
linux 17 34.0 2024/05/20 22:24:00 44 2024/05/20 23:59:00 16
win32 1 2.0 2024/05/20 23:41:00 23 2024/05/20 23:41:00 23
solaris 31 62.0 2024/05/20 23:23:00 25 2024/05/20 23:52:00 41
win64 1 2.0 2024/05/20 19:35:00 26 2024/05/20 19:35:00 26
3.3.1 26 52.0 2024/05/20 19:35:00 26 2024/05/20 23:59:00 16
3.2.3 24 48.0 2024/05/20 22:24:00 44 2024/05/20 23:54:00 24

Source:

{ Source provided for Free Pascal Bug Report 3101 }
{ Submitted by "Martin Schreiber" on  2004-05-15 }
{ e-mail:  }
program test;
{ $mode delphi}{$H+}
uses
  Classes;
type
 ttestobj = class
  public
   constructor create;
   destructor destroy; override;
   procedure afterconstruction; override;
   procedure beforedestruction; override;
 end;

var
 testobj: ttestobj;

procedure ttestobj.afterconstruction;
begin
 writeln('afterconstruction');
end;

procedure ttestobj.beforedestruction;
begin
 writeln('beforedestruction');
end;

constructor ttestobj.create;
begin
 writeln('create');
end;

destructor ttestobj.destroy;
begin
 writeln('destroy');
 inherited;
end;

begin
 testobj:= ttestobj(ttestobj.newinstance);
 writeln(longint(testobj));
 writeln(longint(testobj.create));
 testobj.free;
 //expected: create,afterconstruction,beforedestruction,destroy
 //actual: create,beforedestruction,destroy
 //kylix shows the expected behavior
end.

Link to SVN view of webtbs/tw3101.pp source.