1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{ %FAIL } { a class helper can only inherit from another class helper } program tchlp26; {$ifdef fpc} {$mode delphi} {$endif} type TTest = class end; TObjectHelper = class helper(TTest) for TObject end; begin end.