Those two tests shouldn't have been commited yet...

git-svn-id: branches/svenbarth/classhelpers@17100 -
This commit is contained in:
svenbarth 2011-03-09 16:56:19 +00:00
parent 80e6498921
commit 42129251da
2 changed files with 3 additions and 13 deletions

View File

@ -12,11 +12,6 @@ type
destructor Destroy; override; destructor Destroy; override;
end; end;
destructor TObjectHelper.Destroy;
begin
end;
begin begin
end. end.

View File

@ -1,6 +1,6 @@
{ %NORUN } {%FAIL}
{ class destructors are allowed } { class destructors are not allowed }
program tchlp5; program tchlp5;
{$ifdef fpc} {$ifdef fpc}
@ -9,14 +9,9 @@ program tchlp5;
type type
TObjectHelper = class helper for TObject TObjectHelper = class helper for TObject
class destructor Destroy; class destructor Destroy; override;
end; end;
class destructor TObjectHelper.Destroy;
begin
end;
begin begin
end. end.