mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 09:29:26 +02:00
* self as var in non-object procvar
This commit is contained in:
parent
3dae3d2391
commit
f9948cb330
12
tests/tbs/tb0445.pp
Normal file
12
tests/tbs/tb0445.pp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
type
|
||||||
|
tproc = procedure(self:longint);
|
||||||
|
|
||||||
|
procedure p(l:longint);
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
var
|
||||||
|
pv : tproc;
|
||||||
|
begin
|
||||||
|
pv:={$ifdef fpc}@{$endif}p;
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user