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

t_id 1547
t_adddate 2005/04/05
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=50 Percentage= 100.00

Result type Cat. Count Percentage First date Last Date
Successfully run 50 100.0 2024/05/17 10:38:00 39 2024/05/17 12:01:00 74
i386 9 18.0 2024/05/17 11:09:00 236 2024/05/17 12:00:00 44
m68k 1 2.0 2024/05/17 11:17:00 244 2024/05/17 11:17:00 244
sparc 1 2.0 2024/05/17 12:01:00 74 2024/05/17 12:01:00 74
powerpc 1 2.0 2024/05/17 11:30:00 242 2024/05/17 11:30:00 242
arm 1 2.0 2024/05/17 11:05:00 37 2024/05/17 11:05:00 37
x86_64 26 52.0 2024/05/17 10:50:00 23 2024/05/17 11:57:00 35
powerpc64 1 2.0 2024/05/17 11:34:00 242 2024/05/17 11:34:00 242
mips 1 2.0 2024/05/17 11:21:00 241 2024/05/17 11:21:00 241
mipsel 1 2.0 2024/05/17 11:26:00 47 2024/05/17 11:26:00 47
aarch64 6 12.0 2024/05/17 10:38:00 39 2024/05/17 11:52:00 42
riscv64 1 2.0 2024/05/17 11:56:00 31 2024/05/17 11:56:00 31
loongarch64 1 2.0 2024/05/17 11:13:00 34 2024/05/17 11:13:00 34
linux 42 84.0 2024/05/17 10:38:00 39 2024/05/17 12:01:00 74
solaris 8 16.0 2024/05/17 11:17:00 44 2024/05/17 12:00:00 44
3.3.1 23 46.0 2024/05/17 10:50:00 23 2024/05/17 12:01:00 74
3.2.2 8 16.0 2024/05/17 11:17:00 44 2024/05/17 12:00:00 44
3.2.3 19 38.0 2024/05/17 10:38:00 39 2024/05/17 11:57:00 35

Source:

{ Source provided for Free Pascal Bug Report 3865 }
{ Submitted by "Jernej" on  2005-04-01 }
{ e-mail: jernejcoder@gmail.com }
uses
  SysUtils;

procedure wantitchars(const text: string; var wot: array of char);
begin
  fillchar(wot, sizeof(wot), 0);
  StrPCopy(wot, text); // FPC ERROR: incompatible type for arg no. 1: got "array of char", expected "pchar"
end;

var
  a : array[0..10] of char;
begin
  wantitchars('test',a);
  writeln(a);
  if a<>'test' then
    halt(1);
end.

Link to SVN view of webtbs/tw3865.pp source.