Test suite results for test file tbs/tb0433a.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all tests

Test file "tbs/tb0433a.pp" information:

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

Detailed test run results:

Record count: 50

Total = 50

OK=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Successfully run 50 100.0 2024/05/20 23:23:00 25 2024/05/21 00:58:00 0
i386 19 38.0 2024/05/20 23:23:00 25 2024/05/21 00:37:00 24
sparc 22 44.0 2024/05/20 23:25:00 38 2024/05/20 23:55:00 41
x86_64 6 12.0 2024/05/20 23:44:00 14 2024/05/21 00:49:00 15
aarch64 2 4.0 2024/05/21 00:12:00 32 2024/05/21 00:58:00 0
sparc64 1 2.0 2024/05/20 23:47:00 148 2024/05/20 23:47:00 148
linux 16 32.0 2024/05/20 23:26:00 24 2024/05/21 00:58:00 0
win32 1 2.0 2024/05/20 23:41:00 23 2024/05/20 23:41:00 23
solaris 33 66.0 2024/05/20 23:23:00 25 2024/05/20 23:55:00 41
3.3.1 30 60.0 2024/05/20 23:23:00 25 2024/05/21 00:58:00 0
3.2.3 20 40.0 2024/05/20 23:25:00 38 2024/05/21 00:37:00 24

Source:

{$ifdef fpc}
{$mode delphi}
{$endif fpc}

function times2(x : longint) : longint;

begin
  times2:=2*x;
end;

var
 x:function(x:longint):longint;
 y:pointer absolute x;
 z,w,v:pointer;
begin
 x:=times2;
 z:=@x;
 w:=addr(x);
 v:=@times2;
 writeln(longint(y),' ',longint(z),' ',longint(w),' ',longint(v));
 if (z<>w) or (z<>v) or (y<>z) then
  begin
    writeln('Addr Error');
    halt(1);
  end;
 if (y<>@times2) then
  begin
    writeln('Absolute Error');
    halt(1);
  end;

end.

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