mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 08:09:33 +02:00
20 lines
260 B
ObjectPascal
20 lines
260 B
ObjectPascal
{ %FAIL }
|
|
|
|
{ this tests that the dummy symbol that is introduced for generic "overloads"
|
|
can not be used when it shouldn't be - Test 1 }
|
|
program tgeneric55;
|
|
|
|
{$ifdef fpc}
|
|
{$mode delphi}
|
|
{$endif}
|
|
|
|
type
|
|
TTest<T> = class
|
|
|
|
end;
|
|
|
|
var
|
|
t: TTest;
|
|
begin
|
|
end.
|