Test suite results for test file tbs/tb0212.pp

Test run data :

Run ID:
Operating system: solaris
Processor: sparc
Version: 3.3.1
Fails/OK/Total: 57/9098/9155
Version: 3.3.1
Full version: 3.3.1
Comment: -O2 -Xn -Cg -Fd
Machine: gcc-solaris10
Category: 1
SVN revisions: 9b1861a:d6cf3c9:e657d6a:485b31d
Submitter: pierre
Date: 2024/05/08 07:48:00
Previous run: 947503
Next run: 948697

Hide skipped tests

Hide successful tests

Test file "tbs/tb0212.pp" information:

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

Detailed test run results:

tr_idruntr_oktr_skiptr_result
524706004948059TrueFalseSuccessfully run

Record count: 1

No log of 948059.

Source:

{ Old file: tbs0251.pp }
{ typed const are not aligned correctly                OK 0.99.11 (PM) }


uses erroru;

const
  c : byte = 5;
  r : real = 3.4;
var
  l : longint;
  cc : char;
  rr : real;

begin
  l:=longint(@r);
  if (l mod 4)<>0 then
    begin
       Writeln('static const are not aligned properly !');
       error;
    end;
  cc:='d';
  l:=longint(@rr);
  if (l mod 4)<>0 then
    begin
       Writeln('static var are not aligned properly !');
       error;
    end;
end.

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