mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 08:49:25 +02:00
no message
This commit is contained in:
parent
d3b67cb11d
commit
17c92356a8
@ -1,6 +1,7 @@
|
||||
{$mode objfpc}
|
||||
{ $mode objfpc}
|
||||
type
|
||||
tmyclass = class
|
||||
function f2 : ansistring;
|
||||
function f : widestring;
|
||||
procedure p(var v);
|
||||
end;
|
||||
@ -9,9 +10,13 @@ procedure tmyclass.p(var v);
|
||||
begin
|
||||
end;
|
||||
|
||||
function tmyclass.f : widestring;
|
||||
function tmyclass.f2 : ansistring;
|
||||
begin
|
||||
p(pchar(result));
|
||||
end;
|
||||
|
||||
function tmyclass.f : widestring;
|
||||
begin
|
||||
p(pwidechar(result));
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user