瀏覽代碼

Add the supplied program from bug #19975 to webtbf.

git-svn-id: branches/svenbarth/classhelpers@19282 -
svenbarth 14 年之前
父節點
當前提交
8ba185806a
共有 2 個文件被更改,包括 16 次插入0 次删除
  1. 1 0
      .gitattributes
  2. 15 0
      tests/webtbf/tw19975.pp

+ 1 - 0
.gitattributes

@@ -10878,6 +10878,7 @@ tests/webtbf/tw1949.pp svneol=native#text/plain
 tests/webtbf/tw19591.pp svneol=native#text/plain
 tests/webtbf/tw1969.pp svneol=native#text/plain
 tests/webtbf/tw1995.pp svneol=native#text/plain
+tests/webtbf/tw19975.pp svneol=native#text/pascal
 tests/webtbf/tw2018.pp svneol=native#text/plain
 tests/webtbf/tw2037.pp svneol=native#text/plain
 tests/webtbf/tw2046.pp svneol=native#text/plain

+ 15 - 0
tests/webtbf/tw19975.pp

@@ -0,0 +1,15 @@
+{ %FAIL }
+
+program uGenHelper;
+
+{$mode objfpc}{$H+}
+
+type
+  generic TGeneric<T> = class
+  end;
+
+  THelper = class helper for TGeneric
+  end;
+
+begin
+end.