mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 19:49:31 +02:00
27 lines
411 B
ObjectPascal
27 lines
411 B
ObjectPascal
{ %fail }
|
|
|
|
{$mode objfpc}
|
|
unit tw7752;
|
|
interface
|
|
type generic TMapNode<_Key,_Value> = class(TObject)
|
|
key: _Key;
|
|
value: _Value;
|
|
end;
|
|
generic TMap<_Key,_Value> = class(TObject)
|
|
private
|
|
public
|
|
procedure Insert(x: TMapNode);
|
|
end;
|
|
|
|
implementation
|
|
|
|
procedure TMap.Insert(x: TMapNode);
|
|
procedure TreeInsert(z: TMapNode);
|
|
var x,y: TMapNode;
|
|
begin
|
|
end;
|
|
begin
|
|
end;
|
|
|
|
end.
|