* added test for Mantis #36014 which is already fixed (also in 3.2.0)

git-svn-id: trunk@46219 -
This commit is contained in:
svenbarth 2020-08-03 21:53:24 +00:00
parent 8770af84bd
commit 055cfc1771
2 changed files with 31 additions and 0 deletions

1
.gitattributes vendored
View File

@ -16519,6 +16519,7 @@ tests/webtbf/tw3583.pp svneol=native#text/plain
tests/webtbf/tw35866.pp svneol=native#text/pascal
tests/webtbf/tw35909.pp svneol=native#text/pascal
tests/webtbf/tw35981.pp svneol=native#text/pascal
tests/webtbf/tw36014.pp svneol=native#text/pascal
tests/webtbf/tw36114.pp svneol=native#text/pascal
tests/webtbf/tw36223.pp svneol=native#text/pascal
tests/webtbf/tw3626.pp svneol=native#text/plain

30
tests/webtbf/tw36014.pp Normal file
View File

@ -0,0 +1,30 @@
{ %FAIL }
program tw36014;
{$mode objfpc}
type
{ TTest }
TTest = class
public
procedure Test;
end;
var
T: TTest;
{ TTest }
procedure TTest.Test;
begin
end;
begin
T := TTest.Create;
T.specialize Test<T>;
T.Free;
end.