fpc/tests/test/tgeneric48.pp
svenbarth 66b667cc18 Added some tests for:
- multiple symbols with a similar name
- hint directives
- inline specializations

git-svn-id: branches/svenbarth/generics@17542 -
2011-05-23 19:47:09 +00:00

29 lines
362 B
ObjectPascal

{ %NORUN }
{ in mode Delphi generic types might be overloaded - here: a mix }
program tgeneric48;
{$ifdef fpc}
{$mode delphi}
{$endif}
type
TTest = class
end;
TTest<T> = record
end;
TTest<T, S> = interface
end;
TTest<T, S, R> = procedure;
TTest<T, S, R, Q> = array of Integer;
TTest<T, S, R, Q, P> = procedure of object;
begin
end.