Test suite results for test file test/cg/cdecl/taoc1.pp

Test run data :

Run ID:
Operating system: linux
Processor: powerpc64
Version: 3.3.1
Fails/OK/Total: 101/9163/9264
Version: 3.3.1
Full version: 3.3.1-16505-gfdae200281
Comment: -O3 -Cg -Fl/usr/lib/gcc/ppc64le-redhat-linux/11 -Fd
Machine: gcc120-ppc64le
Category: 1
SVN revisions: fdae200281:7d83cea8da:5769d737d1:fc1050a834
Submitter: pierre
Date: 2024/09/27 01:11:00 <> 2024/09/26
Previous run: 1015059
Next run:

Hide skipped tests

Hide successful tests

Test file "test/cg/cdecl/taoc1.pp" information:

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

Detailed test run results:

tr_idruntr_oktr_skiptr_result
9502206711015711TrueFalseSuccess, compilation failed

Record count: 1

No log of 1015711.

Source:

{ first simple array of const test }

{$mode objfpc}


program test_cdecl_array_of_const;

var
 l : longint;

const
  has_errors : boolean = false;

procedure test(var ll : longint;format : pchar; const args : array of const);cdecl;
begin
 ll:=5;
end;

begin
 l:=4;
 test(l,'dummy',[]);
 if l<>5 then
   has_errors:=true;
 l:=4;
 test(l,'dummy',[345]);
 if l<>5 then
   has_errors:=true;
 if has_errors then
   halt(1);
end.

Link to SVN view of test/cg/cdecl/taoc1.pp source.