mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 00:28:05 +02:00
19 lines
319 B
ObjectPascal
19 lines
319 B
ObjectPascal
unit tw30530;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
{Classes, SysUtils, }Generics.Collections;
|
|
|
|
type
|
|
|
|
//generic TMyList<T> = class(specialize TObjectList<T>);
|
|
generic TMyList<T: class> = class(specialize TObjectList<T>);
|
|
//generic TMyList<T: class> = class(specialize TObjectList<T>) end;
|
|
|
|
implementation
|
|
|
|
end.
|