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

Test run data :

Run ID:
Operating system: solaris
Processor: sparc
Version: 3.3.1
Fails/OK/Total: 46/9119/9165
Version: 3.3.1
Full version: 3.3.1
Comment: -Fd
Machine: gcc-solaris10
Category: 1
SVN revisions: 5e00358:d6cf3c9:e657d6a:485b31d
Submitter: pierre
Date: 2024/05/09 01:13:00
Previous run: 947877
Next run: 948590

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
526332367948340TrueFalseSuccess, compilation failed

Record count: 1

No log of 948340.

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.