mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 14:29:34 +02:00
27 lines
193 B
ObjectPascal
27 lines
193 B
ObjectPascal
uses
|
|
uw27294;
|
|
|
|
var
|
|
p : procedure;
|
|
|
|
procedure test;
|
|
|
|
begin
|
|
p:=@test;
|
|
writeln('OK');
|
|
end;
|
|
|
|
procedure global;
|
|
begin
|
|
p:=nil;
|
|
test;
|
|
p();
|
|
end;
|
|
|
|
begin
|
|
global;
|
|
uw27294.global;
|
|
end.
|
|
|
|
|