mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 21:08:30 +02:00
16 lines
226 B
ObjectPascal
16 lines
226 B
ObjectPascal
{ %FAIL }
|
|
{ %TARGET=darwin,iphonesim,ios }
|
|
|
|
{ a C-block may not reference itself }
|
|
|
|
program tblock4;
|
|
|
|
{$mode objfpc}
|
|
{$modeswitch cblocks}
|
|
|
|
type
|
|
TBlock = reference to function(l: longint): TBlock; cdecl; cblock;
|
|
|
|
begin
|
|
end.
|