mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-20 00:18:30 +02:00
+ add test for already fixed #24285
This commit is contained in:
parent
60c94c50ff
commit
ae06528db4
23
tests/webtbs/tw24285.pp
Normal file
23
tests/webtbs/tw24285.pp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ %NORUN }
|
||||||
|
|
||||||
|
program tw24285;
|
||||||
|
|
||||||
|
{$mode delphi}{$H+}
|
||||||
|
|
||||||
|
type
|
||||||
|
TA<T> = class
|
||||||
|
end;
|
||||||
|
|
||||||
|
TB<T> = class
|
||||||
|
public
|
||||||
|
type
|
||||||
|
TA = class(TA<T>)
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
|
type
|
||||||
|
TBLongInt = TB<LongInt>;
|
||||||
|
|
||||||
|
begin
|
||||||
|
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user