mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-22 16:06:06 +02:00
27 lines
343 B
ObjectPascal
27 lines
343 B
ObjectPascal
program bug38970;
|
|
|
|
{$mode objfpc}{$H+}
|
|
{$modeswitch nestedprocvars}
|
|
|
|
uses
|
|
{$IFDEF UNIX}
|
|
cthreads,
|
|
{$ENDIF}
|
|
Classes
|
|
{ you can add units after this };
|
|
|
|
type
|
|
generic TOption<T> = record
|
|
end;
|
|
|
|
generic TIterNestedFunc<T> = function (): specialize TOption{declaration:TOption}<T> is nested;
|
|
|
|
procedure Test;
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
end.
|
|
|
|
|