2
0
Эх сурвалжийг харах

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

git-svn-id: trunk@46219 -
svenbarth 5 жил өмнө
parent
commit
055cfc1771

+ 1 - 0
.gitattributes

@@ -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 - 0
tests/webtbf/tw36014.pp

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