Browse Source

* fixed wrong test number

git-svn-id: trunk@8735 -
florian 18 years ago
parent
commit
0f4f080d91
2 changed files with 28 additions and 28 deletions
  1. 1 1
      .gitattributes
  2. 27 27
      tests/webtbs/tw9827.pp

+ 1 - 1
.gitattributes

@@ -8467,13 +8467,13 @@ tests/webtbs/tw9347a.pp svneol=native#text/plain
 tests/webtbs/tw9347b.pp svneol=native#text/plain
 tests/webtbs/tw9384.pp svneol=native#text/plain
 tests/webtbs/tw9385.pp svneol=native#text/plain
-tests/webtbs/tw9471.pp -text
 tests/webtbs/tw9667.pp svneol=native#text/plain
 tests/webtbs/tw9672.pp svneol=native#text/plain
 tests/webtbs/tw9673.pp -text
 tests/webtbs/tw9695.pp svneol=native#text/plain
 tests/webtbs/tw9704.pp svneol=native#text/plain
 tests/webtbs/tw9766.pp svneol=native#text/plain
+tests/webtbs/tw9827.pp svneol=native#text/plain
 tests/webtbs/ub1873.pp svneol=native#text/plain
 tests/webtbs/ub1883.pp svneol=native#text/plain
 tests/webtbs/uw0555.pp svneol=native#text/plain

+ 27 - 27
tests/webtbs/tw9471.pp → tests/webtbs/tw9827.pp

@@ -1,27 +1,27 @@
-{$mode objfpc}
-
-type
-  generic GList<_T> = class
-    var private
-      i : integer;
-    function some_func(): integer;
-  end;
-
-function GList.some_func(): integer;
-begin
-  i := -1;
-  Result := -1;
-end { some_func };
-
-
-type
-  TA = specialize GList<integer>;
-var
-  A : TA;
-
-begin
-  A:=TA.Create;
-  if A.some_func<>-1 then
-    halt(1);
-  writeln('ok');
-end.
+{$mode objfpc}
+
+type
+  generic GList<_T> = class
+    var private
+      i : integer;
+    function some_func(): integer;
+  end;
+
+function GList.some_func(): integer;
+begin
+  i := -1;
+  Result := -1;
+end { some_func };
+
+
+type
+  TA = specialize GList<integer>;
+var
+  A : TA;
+
+begin
+  A:=TA.Create;
+  if A.some_func<>-1 then
+    halt(1);
+  writeln('ok');
+end.