Test suite results for test file webtbf/tw3241.pp

Test run data :

Run ID:
Operating system: linux
Processor: powerpc
Version: 3.3.1
Fails/OK/Total: 42/9191/9233
Version: 3.3.1
Full version: 3.3.1-15668-ge657d6a07d
Comment: -Xd -Fl/usr/lib32 -Fd -Fl/usr/lib/gcc/powerpc64-linux-gnu/13/32 -Fd
Machine: gcc203
Category: 1
SVN revisions: e60a7d01a4:41ae52dde1:e657d6a07d:6a109634b0
Submitter: pierre
Date: 2024/05/06 06:14:00 <> 2024/05/05
Previous run: 945469
Next run: 947595

Hide skipped tests

Hide successful tests

Test file "webtbf/tw3241.pp" information:

t_id 1346
t_adddate 2004/08/28
t_result 0
Flag t_fail set
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
515561189946580TrueFalseSuccess, compilation failed

Record count: 1

No log of 946580.

Source:

{ %fail }

{ Source provided for Free Pascal Bug Report 3241 }
{ Submitted by "Mattias Gaertner" on  2004-08-09 }
{ e-mail: mattias@freepascal.org }
program TwoDefaults;

{$mode objfpc}{$H+}

uses
  Classes, SysUtils;

type
  TMyClass = class
  private
    function GetA1(Index: integer): integer;
    function GetA2(Index: integer): integer;
  public
    property A1[Index: integer]: integer read GetA1; default;
    { Next line should give an error }
    property A2[Index: integer]: integer read GetA2; default;
  end;

{ TMyClass }

function TMyClass.GetA1(Index: integer): integer;
begin
  Result:=0;
end;

function TMyClass.GetA2(Index: integer): integer;
begin
  Result:=0;
end;

begin
end.

Link to SVN view of webtbf/tw3241.pp source.