mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-29 07:11:05 +01:00
* fixed accessibility checking for strict_protected (the class
in which the access occurs also has to be related to the
objectdef of which a symbol is accessed) + test
git-svn-id: trunk@22565 -
22 lines
213 B
ObjectPascal
22 lines
213 B
ObjectPascal
{$ifdef fpc}
|
|
{$mode delphi}
|
|
{$endif}
|
|
|
|
unit usprot1;
|
|
|
|
interface
|
|
|
|
type
|
|
tbase = class
|
|
strict protected
|
|
procedure pmethod; virtual; overload;
|
|
end;
|
|
|
|
implementation
|
|
|
|
procedure tbase.pmethod;
|
|
begin
|
|
end;
|
|
|
|
end.
|