tthlp13.pp 272 B

12345678910111213141516171819
  1. { %FAIL }
  2. { this tests that the same type must be extended by the child helper }
  3. program tthlp13;
  4. {$mode objfpc}
  5. {$modeswitch typehelpers}
  6. type
  7. TLongIntHelper = type helper for LongInt
  8. end;
  9. TByteHelper = type helper(TLongIntHelper) for Byte
  10. end;
  11. begin
  12. end.