mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 23:07:55 +02:00
17 lines
278 B
ObjectPascal
17 lines
278 B
ObjectPascal
{ %FAIL }
|
|
{ %TARGET=darwin,iphonesim,ios }
|
|
|
|
{ a C-block may not reference itself }
|
|
|
|
program tblock6;
|
|
|
|
{$mode objfpc}
|
|
{$modeswitch cblocks}
|
|
{$modeswitch functionreferences}
|
|
|
|
type
|
|
TBlock = reference to function(l: specialize TArray<TBlock>): LongInt; cdecl; cblock;
|
|
|
|
begin
|
|
end.
|