blob: 50a2a04a4b7474a529b9e6266435b43c80eb9e07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ %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.
|