Test suite results for test file webtbs/tw0868.pp

Test run data :

Run ID:
Operating system: linux
Processor: m68k
Version: 3.3.1
Fails/OK/Total: 54/9161/9215
Version: 3.3.1
Full version: 3.3.1-15676-g9b1861a104
Comment: -XR/home/pierre/sys-root/m68k-linux -Xd -Xr/home/pierre/sys-root/m68k-linux
Machine: gcclocal
Category: 1
SVN revisions: 9b1861a104:d6cf3c98d0:e657d6a07d:485b31de21
Submitter: pierre
Date: 2024/05/08 08:32:00 <> 2024/05/07
Previous run: 947301
Next run: 948718

Hide skipped tests

Hide successful tests

Test file "webtbs/tw0868.pp" information:

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

Detailed test run results:

tr_idruntr_oktr_skiptr_result
524638724948047TrueFalseSuccessfully run

Record count: 1

No log of 948047.

Source:

{$mode objfpc}
{$H+}
type
  TTreeData = record
    Key: String;
    Data: Integer;
  end;

  TNode = class
    data: TTreeData;
  end;

  TStrIntDic = class
    FNode: TNode;
    destructor Destroy; override;
    procedure Add(const Key: String; Data: Integer);
  end;

destructor TStrIntDic.Destroy;
begin
  FNode.Free;
  inherited Destroy;
end;

procedure TStrIntDic.Add(const Key: String; Data: Integer);
var
  T: TTreeData;
begin
  T.Key:=Key;
  T.Data:=Data;
  FNode:=TNode.Create;
  FNode.data:=T;
end;

procedure Test;
var
  SD: TStrIntDic;
begin
  SD:=TStrIntDic.Create;
  try
    SD.Add('asdf', 2);
  finally
    SD.Free;
  end;
end;

begin
  Test;
  write('Test for bug 868 completed.');
  {readln;}
end.

Link to SVN view of webtbs/tw0868.pp source.