mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:26:15 +02:00
* fixed wrong test number
git-svn-id: trunk@8735 -
This commit is contained in:
parent
6e5ff9b825
commit
0f4f080d91
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -8467,13 +8467,13 @@ tests/webtbs/tw9347a.pp svneol=native#text/plain
|
|||||||
tests/webtbs/tw9347b.pp svneol=native#text/plain
|
tests/webtbs/tw9347b.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9384.pp svneol=native#text/plain
|
tests/webtbs/tw9384.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9385.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/tw9667.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9672.pp svneol=native#text/plain
|
tests/webtbs/tw9672.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9673.pp -text
|
tests/webtbs/tw9673.pp -text
|
||||||
tests/webtbs/tw9695.pp svneol=native#text/plain
|
tests/webtbs/tw9695.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9704.pp svneol=native#text/plain
|
tests/webtbs/tw9704.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9766.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/ub1873.pp svneol=native#text/plain
|
||||||
tests/webtbs/ub1883.pp svneol=native#text/plain
|
tests/webtbs/ub1883.pp svneol=native#text/plain
|
||||||
tests/webtbs/uw0555.pp svneol=native#text/plain
|
tests/webtbs/uw0555.pp svneol=native#text/plain
|
||||||
|
@ -1,27 +1,27 @@
|
|||||||
{$mode objfpc}
|
{$mode objfpc}
|
||||||
|
|
||||||
type
|
type
|
||||||
generic GList<_T> = class
|
generic GList<_T> = class
|
||||||
var private
|
var private
|
||||||
i : integer;
|
i : integer;
|
||||||
function some_func(): integer;
|
function some_func(): integer;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function GList.some_func(): integer;
|
function GList.some_func(): integer;
|
||||||
begin
|
begin
|
||||||
i := -1;
|
i := -1;
|
||||||
Result := -1;
|
Result := -1;
|
||||||
end { some_func };
|
end { some_func };
|
||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
TA = specialize GList<integer>;
|
TA = specialize GList<integer>;
|
||||||
var
|
var
|
||||||
A : TA;
|
A : TA;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
A:=TA.Create;
|
A:=TA.Create;
|
||||||
if A.some_func<>-1 then
|
if A.some_func<>-1 then
|
||||||
halt(1);
|
halt(1);
|
||||||
writeln('ok');
|
writeln('ok');
|
||||||
end.
|
end.
|
Loading…
Reference in New Issue
Block a user