+ extra test for #10998

git-svn-id: trunk@10877 -
This commit is contained in:
Jonas Maebe 2008-05-04 12:45:10 +00:00
parent 95c69a64ad
commit 71d268db32
2 changed files with 22 additions and 0 deletions

1
.gitattributes vendored
View File

@ -7757,6 +7757,7 @@ tests/webtbf/tw10457.pp svneol=native#text/plain
tests/webtbf/tw10833a.pp svneol=native#text/plain
tests/webtbf/tw10849.pp svneol=native#text/plain
tests/webtbf/tw10890a.pp svneol=native#text/plain
tests/webtbf/tw10998a.pp svneol=native#text/plain
tests/webtbf/tw1157a.pp svneol=native#text/plain
tests/webtbf/tw1238.pp svneol=native#text/plain
tests/webtbf/tw1251a.pp svneol=native#text/plain

21
tests/webtbf/tw10998a.pp Normal file
View File

@ -0,0 +1,21 @@
{ %fail }
program statictest;
{$mode delphi}{$STATIC ON}
type
TMyClass = class
public
class procedure StaticCall; static;
end;
class procedure TMyClass.StaticCall;
begin
WriteLn('Static method was called!');
writeln(ptruint(self));
end;
begin
TMyClass.StaticCall;
end.