Test suite results for test file webtbs/tw2594.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 "webtbs/tw2594.pp" information:

t_id 969
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 12:23:00 37 2024/05/20 23:23:00 0
i386 14 28.0 2024/05/20 16:23:00 44 2024/05/20 23:23:00 0
m68k 1 2.0 2024/05/20 22:44:00 190 2024/05/20 22:44:00 190
powerpc 1 2.0 2024/05/20 23:05:00 0 2024/05/20 23:05:00 0
arm 1 2.0 2024/05/20 22:30:00 59 2024/05/20 22:30:00 59
x86_64 13 26.0 2024/05/20 13:38:00 23 2024/05/20 19:35:00 26
powerpc64 2 4.0 2024/05/20 23:13:00 0 2024/05/20 23:20:00 71
mips 3 6.0 2024/05/20 12:35:00 35 2024/05/20 22:51:00 240
mipsel 1 2.0 2024/05/20 22:58:00 148 2024/05/20 22:58:00 148
aarch64 14 28.0 2024/05/20 12:23:00 37 2024/05/20 22:24:00 44
linux 12 24.0 2024/05/20 12:23:00 37 2024/05/20 23:20:00 71
solaris 13 26.0 2024/05/20 16:23:00 44 2024/05/20 23:23:00 0
darwin 12 24.0 2024/05/20 16:20:00 32 2024/05/20 17:50:00 56
win64 13 26.0 2024/05/20 13:38:00 23 2024/05/20 19:35:00 26
3.3.1 9 18.0 2024/05/20 12:35:00 35 2024/05/20 23:23:00 0
3.2.2 12 24.0 2024/05/20 16:23:00 44 2024/05/20 17:30:00 45
3.2.3 29 58.0 2024/05/20 12:23:00 37 2024/05/20 23:20:00 71

Source:

{ Source provided for Free Pascal Bug Report 2594 }
{ Submitted by "Pavel V. Ozerski" on  2003-07-24 }
{ e-mail: ozerski@list.ru }
{$apptype console}
{$ifdef fpc}
{$mode delphi}
{$endif}
type
 tp=procedure;
var
  err : boolean; 
procedure expect(l1,l2:longint);
begin
  if l1<>l2 then
    begin
      writeln('ERROR got ',l1,' expected ',l2);
      err:=true;
    end  
  else
    writeln(l1);
end;
 
var
 p:tp;
 pp:pointer absolute p;
begin
 expect(longint(@p),0);
 expect(longint(@pp),longint(@@p));
 expect(longint(addr(@p)),longint(@@p));
 expect(longint(@addr(p)),longint(@@p));
 expect(longint(@(addr(p))),longint(@@p));
 expect(longint(@(@p)),longint(@@p));
 if err then
   halt(1);
end.

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