mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 07:34:28 +02:00

- multiple symbols with a similar name - hint directives - inline specializations git-svn-id: branches/svenbarth/generics@17542 -
26 lines
250 B
ObjectPascal
26 lines
250 B
ObjectPascal
{ %NORUN }
|
|
|
|
{ in mode Delphi generic types might be overloaded - here: record only }
|
|
program tgeneric37;
|
|
|
|
{$ifdef fpc}
|
|
{$mode delphi}
|
|
{$endif}
|
|
|
|
type
|
|
TTest = record
|
|
|
|
end;
|
|
|
|
TTest<T> = record
|
|
|
|
end;
|
|
|
|
TTest<T, S> = record
|
|
|
|
end;
|
|
|
|
begin
|
|
|
|
end.
|