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

25 lines
311 B
ObjectPascal

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