bug0097.pp 254 B

12345678910111213141516171819
  1. {
  2. This compiles fine with FPC, but not with Bp7 see 2 comments
  3. }
  4. type
  5. t=object
  6. s : string { No ; needed ? }
  7. procedure p;
  8. end;
  9. procedure t.p;
  10. var
  11. s : longint; { Not allowed with BP7 }
  12. begin
  13. end;
  14. begin
  15. end.