Test suite results for test file webtbs/tw3263.pp

Test run data :

Run ID:
Operating system: linux
Processor: i386
Version: 3.3.1
Fails/OK/Total: 238/9417/9655
Version: 3.3.1
Full version: 3.3.1-15587-g490a8c68ea-unpushed
Comment: -XR/home/muller/sys-root/i386-linux -Xd -Xr/home/muller/sys-root/i386-linux
Machine: cfarm13
Category: 1
SVN revisions: 490a8c68ea:8b7dbb81b1:3f8bbd3b00:2f9ed0576e
Submitter: muller
Date: 2024/04/19 11:03:00
Previous run: 934303
Next run: 935638

Hide skipped tests

Hide successful tests

Test file "webtbs/tw3263.pp" information:

t_id 1335
t_adddate 2004/08/23
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
443822633934990TrueFalseSuccessfully run

Record count: 1

No log of 934990.

Source:

{ Source provided for Free Pascal Bug Report 3263 }
{ Submitted by "Frank Kintrup" on  2004-08-20 }
{ e-mail: frank.kintrup@gmx.de }
{$MODE Delphi}
type
  TAncestor = class (TObject)
    constructor Create; virtual; overload;
  end;

type
  TDerived = class (TAncestor)
    constructor Create; override; overload;
    constructor Create(aParam : Integer); overload;
  end;

var
  err : boolean;
  
constructor TAncestor.Create;
begin
  writeln('TAnscestor.Create');
  err:=false;
end;

constructor TDerived.Create;
begin
  writeln('TDerived.Create');
  inherited Create;  // Calls TAncestor.Create
end;

constructor TDerived.Create(aParam : Integer);
begin
  // Should call virtual TDerived.Create
  // Compiler stops here "Illegal expression"
  writeln('TDerived.Create(aParam)');
  Create;
end;

var D : TDerived;
begin
  err:=true;
  D := TDerived.Create(0);
  if err then
    halt(1);
end.

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