mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 16:30:41 +02:00
no message
This commit is contained in:
parent
ab316ac66f
commit
51a249e0c5
21
tests/tbs/tb0475.pp
Normal file
21
tests/tbs/tb0475.pp
Normal file
@ -0,0 +1,21 @@
|
||||
{$mode delphi}
|
||||
type
|
||||
to1 = class
|
||||
fp : longint;
|
||||
property p : longint read fp write fp;
|
||||
end;
|
||||
|
||||
procedure p(const v);
|
||||
begin
|
||||
end;
|
||||
|
||||
var
|
||||
a : pchar;
|
||||
o1 : to1;
|
||||
|
||||
begin
|
||||
o1:=to1.create;
|
||||
p(a[0]);
|
||||
p(o1.p);
|
||||
o1.free;
|
||||
end.
|
Loading…
Reference in New Issue
Block a user