tw3716.pp 347 B

123456789101112131415161718192021222324252627
  1. { %fail }
  2. { Source provided for Free Pascal Bug Report 3716 }
  3. { Submitted by "Marc Weustink" on 2005-03-01 }
  4. { e-mail: [email protected] }
  5. program protect;
  6. {$mode objfpc}{$H+}
  7. uses
  8. Classes;
  9. type
  10. TMyClass = class(TObject)
  11. public
  12. procedure p;
  13. end;
  14. procedure TMyClass.p;
  15. var
  16. C: TCollection;
  17. begin
  18. C.PropName;
  19. end;
  20. begin
  21. end.