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

21 lines
338 B
ObjectPascal

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