fpc/tests/webtbs/tw27120.pp
svenbarth 7b216d7fa6 Fix for Mantis #27120.
pdecobj.pas, parse_object_members:
  * also allow class fields for helper types

+ added tests

git-svn-id: trunk@29270 -
2014-12-12 13:57:43 +00:00

19 lines
161 B
ObjectPascal

{ %NORUN }
program tw27120;
{$mode objfpc}
type
TFoo = class
end;
TBar = class helper for TFoo
private class var
FFoo: TFoo;
end;
begin
end.