Mantis #24072 was fixed by partial specializations addition in revision 27861

+ added test

git-svn-id: trunk@27878 -
This commit is contained in:
svenbarth 2014-06-06 15:39:30 +00:00
parent 49a9f4c1ea
commit 6f962e817a
2 changed files with 25 additions and 0 deletions

1
.gitattributes vendored
View File

@ -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
View 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.