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

t_id 1109
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/09/20 13:09:00 29 2024/09/20 22:02:00 112
x86_64 21 42.0 2024/09/20 13:09:00 29 2024/09/20 21:58:00 52
powerpc64 9 18.0 2024/09/20 21:17:00 103 2024/09/20 22:02:00 112
aarch64 12 24.0 2024/09/20 15:14:00 31 2024/09/20 16:46:00 56
riscv64 8 16.0 2024/09/20 18:45:00 48 2024/09/20 19:28:00 48
linux 17 34.0 2024/09/20 18:45:00 48 2024/09/20 22:02:00 112
openbsd 13 26.0 2024/09/20 16:57:00 38 2024/09/20 21:58:00 52
solaris 1 2.0 2024/09/20 13:09:00 29 2024/09/20 13:09:00 29
darwin 12 24.0 2024/09/20 15:14:00 31 2024/09/20 16:46:00 56
win64 7 14.0 2024/09/20 13:38:00 37 2024/09/20 16:33:00 25
3.3.1 23 46.0 2024/09/20 14:21:00 20 2024/09/20 22:02:00 112
3.2.3 27 54.0 2024/09/20 13:09:00 29 2024/09/20 21:58:00 52

Source:

{ %fail }

{$mode objfpc}{$H+}

type
  TMyProc = procedure;

  TMyClassA = class
  private
    FOnMyEvent: TMyProc;
  public
    property OnMyEvent: TMyProc read FOnMyEvent write FOnMyEvent;
  end;

  TMyClassB = class
  public
    MyClassA: TMyClassA;
    procedure DoIt;
    constructor Create;
  end;

procedure TMyClassB.DoIt;
begin

end;

constructor TMyClassB.Create;
begin
  MyClassA:=TMyClassA.Create;
  MyClassA.OnMyEvent:=@DoIt; // DoIt is 'procedure of object' -> incompatible !
end;

begin
end.

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