Test suite results for test file webtbs/tw3840.pp

Test run data :

Run ID:
Operating system: linux
Processor: i386
Version: 3.3.1
Fails/OK/Total: 20/9643/9663
Version: 3.3.1
Full version: 3.3.1-15676-g9b1861a104
Comment: -gl -Fl/lib32 -Fl/usr/lib32 -Fl/usr/lib/gcc/x86_64-linux-gnu/10/32 -Fl/home/muller/sys-root/i386-linux/lib -Fl/home/muller/sys-root/i386-linux/usr/lib -gwl -Fd
Machine: gcc186
Category: 1
SVN revisions: 9b1861a104:d6cf3c98d0:e657d6a07d:485b31de21
Submitter: pierre
Date: 2024/05/08 01:46:00 <> 2024/05/07
Previous run: 946978
Next run: 948384

Hide skipped tests

Hide successful tests

Test file "webtbs/tw3840.pp" information:

t_id 1561
t_adddate 2005/05/06
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
522678898947733TrueFalseSuccessfully run

Record count: 1

No log of 947733.

Source:

{ Source provided for Free Pascal Bug Report 3840 }
{ Submitted by "Alexey Barkovoy" on  2005-03-27 }
{ e-mail: clootie@ixbt.com }

{$mode objfpc}

const
  sConst =  'X';

procedure Do1(const w: PWideChar);
begin
  writeln(Widestring(w));
end;

begin
  Do1(sConst); //Error: Incompatible type for arg no. 1: Got "Char", expected "PWideChar"
  Do1('W');    //Error: Incompatible type for arg no. 1: Got "Char", expected "PWideChar"
  Do1('WW');   // SUCCEEDED
end.

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