Browse Source

+ test for #17184

git-svn-id: trunk@16470 -
florian 14 years ago
parent
commit
97ac6ab928
2 changed files with 14 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 13 0
      tests/webtbs/tw17184.pp

+ 1 - 0
.gitattributes

@@ -10709,6 +10709,7 @@ tests/webtbs/tw17118.pp svneol=native#text/plain
 tests/webtbs/tw17164.pp svneol=native#text/plain
 tests/webtbs/tw17164.pp svneol=native#text/plain
 tests/webtbs/tw17180.pp svneol=native#text/plain
 tests/webtbs/tw17180.pp svneol=native#text/plain
 tests/webtbs/tw17181.pp svneol=native#text/plain
 tests/webtbs/tw17181.pp svneol=native#text/plain
+tests/webtbs/tw17184.pp svneol=native#text/pascal
 tests/webtbs/tw1720.pp svneol=native#text/plain
 tests/webtbs/tw1720.pp svneol=native#text/plain
 tests/webtbs/tw17213.pp svneol=native#text/pascal
 tests/webtbs/tw17213.pp svneol=native#text/pascal
 tests/webtbs/tw17220.pp svneol=native#text/plain
 tests/webtbs/tw17220.pp svneol=native#text/plain

+ 13 - 0
tests/webtbs/tw17184.pp

@@ -0,0 +1,13 @@
+{$MODE OBJFPC} { -*- text -*- }
+program Test;
+
+type
+   generic Test1<T> = class end;
+   generic Test2<T> = class
+    type
+      Test3 = specialize Test1<T>;
+   end;
+   Test4 = specialize Test2<Integer>;
+
+begin
+end.