mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 20:09:18 +02:00
no message
This commit is contained in:
parent
99b2916678
commit
5ba9745d5e
@ -1,4 +1,5 @@
|
|||||||
{ %version=1.1 }
|
{ %version=1.1 }
|
||||||
|
{$mode objfpc}
|
||||||
{ Source provided for Free Pascal Bug Report 2763 }
|
{ Source provided for Free Pascal Bug Report 2763 }
|
||||||
{ Submitted by "Michael Van Canneyt" on 2003-11-04 }
|
{ Submitted by "Michael Van Canneyt" on 2003-11-04 }
|
||||||
{ e-mail: Michael.VanCanneyt@wisa.be }
|
{ e-mail: Michael.VanCanneyt@wisa.be }
|
||||||
|
18
tests/webtbs/tw2765.pp
Normal file
18
tests/webtbs/tw2765.pp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{ Source provided for Free Pascal Bug Report 2765 }
|
||||||
|
{ Submitted by "Michael Van Canneyt" on 2003-11-04 }
|
||||||
|
{ e-mail: michael.vancanneyt‚wisa.be }
|
||||||
|
program testw;
|
||||||
|
|
||||||
|
var
|
||||||
|
P : PWideChar;
|
||||||
|
PA : PChar;
|
||||||
|
S,T : AnsiString;
|
||||||
|
|
||||||
|
begin
|
||||||
|
S:='SomeThing';
|
||||||
|
P:=PWideChar(S);
|
||||||
|
PA:=PChar(Pointer(P));
|
||||||
|
Writeln('P : ',PA);
|
||||||
|
T:=WideCharToString(P);
|
||||||
|
Writeln('T : ',T);
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user