fpc/tests/test/tgeneric42.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

27 lines
325 B
ObjectPascal

{ %NORUN }
{ in mode Delphi generic types might be overloaded - here: class only
Note: This tests a different code path than in the compiler than tgeneric36! }
program tgeneric42;
{$ifdef fpc}
{$mode delphi}
{$endif}
type
TTest<T> = class
end;
TTest = class
end;
TTest<T, S> = class
end;
begin
end.