fpc/tests/test/thlp5.pp
svenbarth 798cc01ffe Corrected two tests ("modeswitch" => "mode")
git-svn-id: branches/svenbarth/classhelpers@17307 -
2011-04-12 07:02:57 +00:00

24 lines
309 B
ObjectPascal

{ %FAIL }
{ overriding methods is forbidden in mode objfpc }
program thlp5;
{$ifdef fpc}
{$mode objfpc}
{$endif}
uses
uhlp3;
type
TObjectHelperSub = class helper(TObjectHelper) for TObject
procedure TestOverride; override;
end;
procedure TObjectHelperSub.TestOverride;
begin
end;
begin
end.