mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 12:18:30 +02:00
24 lines
309 B
ObjectPascal
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.
|