1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ %FAIL } { access to helper methods adheres to visibility rules (here: protected) } program thlp34; {$ifdef fpc} {$mode delphi} {$endif} uses uhlp31; var f: TFoo; begin f := TFoo.Create; f.Test4; end.