Test suite results for test file webtbf/tw0807.pp

Test run data :

Run ID:
Operating system: haiku
Processor: i386
Version: 3.3.1
Fails/OK/Total: 50/9249/9299
Version: 3.3.1
Full version: 3.3.1
Comment: -O3 -Criot -gl -Fd
Machine: shredder
Category: 1
SVN revisions: e2905b8fad:f1b071bbba:9cceb41c04:7917cbed22
Submitter: pierre
Date: 2022/12/17 07:01:00 <> 2022/12/16
Previous run: 724281
Next run: 729242

Hide skipped tests

Hide successful tests

Test file "webtbf/tw0807.pp" information:

t_id 1077
t_adddate 2003/10/14
t_result 0
Flag t_fail set
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
-834630764725273TrueFalseSuccess, compilation failed

Record count: 1

No log of 725273.

Source:

{ %FAIL }
{$mode objfpc}

Program test;

uses crt;

type
  TMatrix = class
              Constructor Create;
            private
              Elements : array [1..10,1..10] of real;
            end;

Constructor TMatrix.Create;

begin
end;

OPERATOR :=(r:Real):TMatrix;
  BEGIN
    WITH RESULT DO
      BEGIN
{ Do something }
      END;
    writeln ('Call to overloaded operator :=, real operand');
  END;
operator :=(m : TMatrix):TMatrix;
  BEGIN
    WITH RESULT DO
      BEGIN
{ Do something }
      END;
    writeln ('Call to overloaded operator :=, matrix operand');
  END;

var
  m : TMatrix;
  m2 : TMatrix;

begin
  clrscr;
  writeln ('Performing calculations...');
  m:=TMatrix.Create;
  m2:=TMatrix.Create;
  writeln ('Assigning real to matrix...');
{ This one works }
  m:=1;
  writeln ('Assigning matrix to matrix...');
{ This one does not work }
  m:=m2;
  writeln ('Done.');
end.

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