mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 05:59:27 +02:00
Those two tests shouldn't have been commited yet...
git-svn-id: branches/svenbarth/classhelpers@17100 -
This commit is contained in:
parent
80e6498921
commit
42129251da
@ -12,11 +12,6 @@ type
|
|||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
destructor TObjectHelper.Destroy;
|
|
||||||
begin
|
|
||||||
|
|
||||||
end;
|
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user