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

t_id 1096
t_adddate 2003/10/14
t_result 0
Flag t_fail set
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
Success, compilation failed 50 100.0 2024/05/21 01:40:00 15 2024/05/21 05:19:00 106
i386 6 12.0 2024/05/21 01:52:00 47 2024/05/21 04:56:00 56
m68k 1 2.0 2024/05/21 04:00:00 53 2024/05/21 04:00:00 53
sparc 1 2.0 2024/05/21 04:50:00 56 2024/05/21 04:50:00 56
powerpc 1 2.0 2024/05/21 04:15:00 238 2024/05/21 04:15:00 238
x86_64 28 56.0 2024/05/21 01:40:00 15 2024/05/21 05:12:00 29
powerpc64 7 14.0 2024/05/21 04:20:00 53 2024/05/21 05:19:00 106
mipsel 1 2.0 2024/05/21 04:11:00 185 2024/05/21 04:11:00 185
aarch64 4 8.0 2024/05/21 03:08:00 37 2024/05/21 04:37:00 35
riscv64 1 2.0 2024/05/21 04:44:00 30 2024/05/21 04:44:00 30
linux 36 72.0 2024/05/21 01:40:00 15 2024/05/21 05:19:00 106
win32 1 2.0 2024/05/21 04:53:00 28 2024/05/21 04:53:00 28
go32v2 2 4.0 2024/05/21 04:13:00 54 2024/05/21 04:56:00 56
solaris 11 22.0 2024/05/21 03:11:00 21 2024/05/21 03:35:00 27
3.3.1 33 66.0 2024/05/21 01:40:00 15 2024/05/21 05:19:00 106
3.2.3 17 34.0 2024/05/21 01:52:00 47 2024/05/21 05:07:00 27

Source:

{ %FAIL }
program TestDefaultProperty;

{$MODE OBJFPC}{$H+}

uses
  SysUtils;

type
  TMyClass = class
  private
    function GetItems(Index: integer): integer;
  public
    property Items[Index: integer]: integer read GetItems; default;
  end;

function TMyClass.GetItems(Index: integer): integer;
begin
  writeln('Get Index=',Index);
  Result:=Index;
end;

var MyClass: TMyClass;
  i: integer;

begin
  MyClass:=TMyClass.Create;
  i:=MyClass.Items;
  writeln('i=',i);
  MyClass.Free;
end.

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