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

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

Detailed test run results:

Record count: 50

Total = 50

OK=49 Percentage= 98.00

Result type Cat. Count Percentage First date Last Date
Failed to compile 1 2.0 2024/10/19 09:25:00 118 2024/10/19 09:25:00 118
sparc64 1 100.0 2024/10/19 09:25:00 118 2024/10/19 09:25:00 118
linux 1 100.0 2024/10/19 09:25:00 118 2024/10/19 09:25:00 118
3.2.3 1 100.0 2024/10/19 09:25:00 118 2024/10/19 09:25:00 118
Successfully run 49 98.0 2024/10/19 08:15:00 27 2024/10/19 13:36:00 24
i386 4 8.2 2024/10/19 09:39:00 55 2024/10/19 11:13:00 63
m68k 2 4.1 2024/10/19 09:50:00 39 2024/10/19 10:22:00 40
sparc 3 6.1 2024/10/19 09:01:00 54 2024/10/19 11:16:00 40
powerpc 4 8.2 2024/10/19 08:35:00 146 2024/10/19 13:26:00 65
arm 2 4.1 2024/10/19 09:36:00 32 2024/10/19 10:03:00 32
x86_64 9 18.4 2024/10/19 08:40:00 45 2024/10/19 13:36:00 24
powerpc64 9 18.4 2024/10/19 08:51:00 46 2024/10/19 11:23:00 69
mips 3 6.1 2024/10/19 08:18:00 121 2024/10/19 10:28:00 38
mipsel 2 4.1 2024/10/19 08:27:00 188 2024/10/19 10:35:00 142
aarch64 6 12.2 2024/10/19 08:15:00 27 2024/10/19 09:57:00 26
sparc64 2 4.1 2024/10/19 08:23:00 137 2024/10/19 10:46:00 141
riscv64 2 4.1 2024/10/19 10:25:00 33 2024/10/19 11:10:00 26
loongarch64 1 2.0 2024/10/19 09:45:00 25 2024/10/19 09:45:00 25
linux 35 71.4 2024/10/19 08:15:00 27 2024/10/19 11:16:00 40
go32v2 3 6.1 2024/10/19 09:39:00 55 2024/10/19 11:13:00 63
solaris 6 12.2 2024/10/19 13:22:00 24 2024/10/19 13:36:00 24
aix 5 10.2 2024/10/19 10:06:00 62 2024/10/19 13:26:00 65
3.3.1 28 57.1 2024/10/19 08:23:00 137 2024/10/19 13:26:00 65
3.2.3 21 42.9 2024/10/19 08:15:00 27 2024/10/19 13:36:00 24

Source:

{ Old file: tbs0299.pp }
{ passing Array[0..1] of char by value to proc leads to problems OK 0.99.13 (PM)
passing Array[0..1] of char by value to proc leads to problems }

type
  TwoChar = Array[0..1] of char;
  Empty = Record
          End;
const
  asd : TwoChar = ('a','b');

procedure Tester(i:TwoChar; a: Empty;l : longint;var ll : longint);
begin
  i[0]:=i[1];
  Writeln('l = ',l,' @l = ',hexstr(longint(@l),8),' @a = ',hexstr(longint(@a),8));
  inc(ll);
end;

var
  a : Empty;
  l,ll : longint;
begin
  l:=6;
  ll:=15;
  Writeln(Sizeof(asd));
  Tester(asd,a,l,ll);
  Writeln(asd);
  if (ll<>16) then
    Begin
      Writeln('Error with passing value parameter of type array [1..2] of char');
      Halt(1);
    end;
end.

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