fpc/tests/webtbf/tw9509.pp
2011-01-02 10:51:51 +00:00

24 lines
386 B
ObjectPascal

{ %fail }
{$mode objfpc}
{$interfaces corba}
type
generic IList<TElem> = interface
end;
generic ISet<TElem> = interface
end;
generic IMap<TKey, TValue> = interface
type
TKeySet = specialize ISet<TKey>; // wrong syntax?
TValueSet = specialize IList<TValue>; // wrong syntax?
function Keys : TKeySet;
function Values : TValueSet;
end;
begin
end.