Test suite results for test file tbs/tb0222.pp

Test run data :

Run ID:
Operating system: linux
Processor: x86_64
Version: 3.3.1
Fails/OK/Total: 34/9452/9486
Version: 3.3.1
Full version: 3.3.1-15617-g1de3aba4e3
Comment: -XR/home/muller/sys-root/x86_64-linux -Xd -Xr/home/muller/sys-root/x86_64-linux
Machine: cfarm421
Category: 1
SVN revisions: 1de3aba4e3:0655b342d4:20c95f0455:61397d40ae
Submitter: muller
Date: 2024/04/27 13:34:00 <> 2024/04/26
Previous run: 939773
Next run: 941235

Hide skipped tests

Hide successful tests

Test file "tbs/tb0222.pp" information:

t_id 455
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
477731357940465TrueFalseSuccessfully run

Record count: 1

No log of 940465.

Source:

{ Old file: tbs0261.pp }
{ problems for assignment overloading                  OK 0.99.12a (PM) }

program bug0261;

{ test for operator overloading }
{ Copyright (c) 1999 Lourens Veen }
{ why doesn't this work? }
uses
  erroru,
  ub0222;


var a : mythingy;
    b : myotherthingy;
    c : mythirdthingy;
begin
  a.x:=55;
  a.y:=45;
  a.c:=7;
  b:=a;
  c:=a;
  if b.d<>c.e then
    begin
      Writeln('Error in assignment overloading');
      Halt(1);
    end;
  if b<>c then
    begin
      Writeln('Error in equal overloading');
      Halt(1);
    end;
  Writeln('Sizeof(mythirdthingy)=',sizeof(mythirdthingy));
  Writeln('Sizeof(mynewthingy)=',sizeof(mynewthingy));
end.

Link to SVN view of tbs/tb0222.pp source.