mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 12:39:27 +02:00
Mantis #24072 was fixed by partial specializations addition in revision 27861
+ added test git-svn-id: trunk@27878 -
This commit is contained in:
parent
49a9f4c1ea
commit
6f962e817a
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -13848,6 +13848,7 @@ tests/webtbs/tw2397.pp svneol=native#text/plain
|
||||
tests/webtbs/tw23980.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw24007.pp svneol=native#text/plain
|
||||
tests/webtbs/tw24071.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw24072.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw2409.pp svneol=native#text/plain
|
||||
tests/webtbs/tw24129.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw24131.pp svneol=native#text/plain
|
||||
|
24
tests/webtbs/tw24072.pp
Normal file
24
tests/webtbs/tw24072.pp
Normal file
@ -0,0 +1,24 @@
|
||||
{ %NORUN }
|
||||
|
||||
program tw24072;
|
||||
|
||||
{$mode delphi}
|
||||
|
||||
type
|
||||
TA<T> = record
|
||||
end;
|
||||
|
||||
TB<T> = class
|
||||
public
|
||||
type
|
||||
TC = TA<T>;
|
||||
|
||||
TD = record
|
||||
Foo: TC; // ! FATAL !
|
||||
end;
|
||||
end;
|
||||
|
||||
var
|
||||
t: TB<LongInt>;
|
||||
begin
|
||||
end.
|
Loading…
Reference in New Issue
Block a user