mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 06:28:55 +02:00
18 lines
276 B
ObjectPascal
18 lines
276 B
ObjectPascal
{ %NORUN }
|
|
|
|
program tw39826;
|
|
{$mode delphi}
|
|
{$modeswitch functionreferences}
|
|
{$modeswitch anonymousfunctions}
|
|
type
|
|
TGR1<T> = record
|
|
public type
|
|
TGRUpdateProc = reference to procedure (var ARec: TGR1<T>);
|
|
public
|
|
Val: T;
|
|
end;
|
|
var gr1: TGR1<integer>;
|
|
begin
|
|
end.
|
|
|