Test suite results for test file tbs/tb0231.pp

Test run data :

Run ID:
Operating system: linux
Processor: i386
Version: 3.3.1
Fails/OK/Total: 44/9618/9662
Version: 3.3.1
Full version: 3.3.1-15624-g3cfec5e6a4
Comment: -XR/home/muller/sys-root/i386-linux -Xd -Xr/home/muller/sys-root/i386-linux
Machine: gcc188
Category: 1
SVN revisions: e601156b8c:3cfec5e6a4:7629cdb4a5:6a109634b0
Submitter: muller
Date: 2024/04/28 11:37:00
Previous run: 940405
Next run: 941895

Hide skipped tests

Hide successful tests

Test file "tbs/tb0231.pp" information:

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

Detailed test run results:

tr_idruntr_oktr_skiptr_result
482139667941177TrueFalseSuccessfully run

Record count: 1

No log of 941177.

Source:

{ Old file: tbs0271.pp }
{ abstract methods can't be assigned to methodpointers OK 0.99.13 (??) }

{$mode fpc}
  type
    tproc = procedure;

procedure proc1;
begin
end;

var
  _copyscan : tproc;

procedure setproc;
begin
    _copyscan := @proc1;
end;

procedure testproc;
begin
  if not (_copyscan=@proc1) then
    begin
      Writeln(' Problem procvar equality');
      Halt(1);
    end
  else
    Writeln(' No problem with procedure equality');
end;

begin
  setproc;
  testproc;
end.

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