mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 14:29:34 +02:00
15 lines
226 B
ObjectPascal
15 lines
226 B
ObjectPascal
{ %FAIL }
|
|
|
|
{ anonymous reference function types as function arguments are not allowed }
|
|
program tfuncref4;
|
|
|
|
{$mode objfpc}
|
|
{$modeswitch functionreferences}
|
|
|
|
procedure Test(aArg: reference to procedure);
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
end.
|