Test suite results for test file webtbf/tw1949.pp

Test run data :

Run ID:
Operating system: linux
Processor: i386
Version: 3.3.1
Fails/OK/Total: 28/9635/9663
Version: 3.3.1
Full version: 3.3.1-15677-g5e00358f13
Comment: -gl -Fl/lib32 -Fl/usr/lib32 -Fl/usr/lib/gcc/x86_64-linux-gnu/13/32 -Fl/home/muller/sys-root/i386-linux/lib -Fl/home/muller/sys-root/i386-linux/usr/lib -Fd
Machine: gcc421
Category: 1
SVN revisions: 5e00358f13:d6cf3c98d0:e657d6a07d:485b31de21
Submitter: pierre
Date: 2024/05/09 01:07:00 <> 2024/05/08
Previous run: 947676
Next run: 948981

Hide skipped tests

Hide successful 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:

tr_idruntr_oktr_skiptr_result
526304817948332TrueFalseSuccess, compilation failed

Record count: 1

No log of 948332.

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.