fpc/tests/webtbs/tw25210.pp
svenbarth d91d4afb0f Fix for Mantis #25210 .
compiler/pdecobj.pas, object_dec:
  * since revision 25518 the global symtable of the current module is no longer popped and pushed again so that the defaware symtablestack can add the helper; thus we need to do this not only for static symtables, but for global ones as well
  * adjusted comment to reflect current situation

git-svn-id: trunk@25834 -
2013-10-20 11:33:01 +00:00

29 lines
303 B
ObjectPascal

unit tw25210;
{$mode objfpc}
interface
uses
Classes;
type
TStringsHelper = class helper for TStrings
procedure Test;
end;
implementation
procedure TStringsHelper.Test;
begin
Writeln('Foobar');
end;
var
s: TStrings;
initialization
s := TStringList.Create;
s.Test;
s.Free;
end.