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

t_id 441
t_adddate 2003/10/03
t_result 0
t_knownrunerror 1

Detailed test run results:

Record count: 50

Total = 50

OK=0 Percentage= 0.00

Skipped=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Skipping test because it is a known bug 50 100.0 2024/05/08 01:54:00 15 2024/05/08 05:31:00 34
i386 3 6.0 2024/05/08 03:04:00 26 2024/05/08 04:30:00 60
sparc 6 12.0 2024/05/08 02:23:00 46 2024/05/08 05:25:00 42
x86_64 31 62.0 2024/05/08 01:54:00 15 2024/05/08 05:31:00 34
powerpc64 5 10.0 2024/05/08 04:10:00 55 2024/05/08 04:58:00 86
aarch64 5 10.0 2024/05/08 02:52:00 40 2024/05/08 05:00:00 43
linux 42 84.0 2024/05/08 01:54:00 15 2024/05/08 05:31:00 34
win32 1 2.0 2024/05/08 03:04:00 26 2024/05/08 03:04:00 26
go32v2 1 2.0 2024/05/08 04:30:00 60 2024/05/08 04:30:00 60
solaris 6 12.0 2024/05/08 02:23:00 46 2024/05/08 05:25:00 42
3.3.1 20 40.0 2024/05/08 01:54:00 15 2024/05/08 05:27:00 16
3.2.3 30 60.0 2024/05/08 03:06:00 35 2024/05/08 05:31:00 34

Source:

{ %KNOWNRUNERROR=1 Free Pascal does not compute args from left to right }

{ Old file: tbs0243.pp }
{ Arguments of functions are computed from right to left this }

program simpletest;

var i : longint;

  function _next : longint;
    begin
      inc(i);
      _next:=i;
    end;

  procedure test(a,b : longint);
    begin
      Writeln('first arg is ',a);
      Writeln('second arg is ',b);
    end;

  procedure check(a,b : longint);
    begin
      if a>b then
        begin
           Writeln('FPC does not follow PASCAL rules for parameter passing');
           Halt(1);
        end;
    end;

begin
{ this could give
  first arg is 1
  second arg is 2
  but FPC parses the second arg before the first one ! }
test(_next,_next);
writeln('third arg is ',_next);
writeln('fourth arg is ',_next,' fifth arg is ',_next);
check(_next,_next);
end.

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