mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 22:08:11 +02:00
21 lines
269 B
ObjectPascal
21 lines
269 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 2 }
|
|
program tgeneric56;
|
|
|
|
{$ifdef fpc}
|
|
{$mode objfpc}
|
|
{$endif}
|
|
|
|
type
|
|
generic TTest<T> = class
|
|
|
|
end;
|
|
|
|
var
|
|
t: TTest;
|
|
begin
|
|
end.
|
|
|