fpc/tests/test/thlp48.pp
Jonas Maebe 8fe981cccb * also give a warning when a field masks an identifier from a category
* also give a warning when a field/parameter/local variable masks an
    identifier from a class helper that's in scope

git-svn-id: trunk@29498 -
2015-01-17 15:38:29 +00:00

25 lines
247 B
ObjectPascal

{ %fail }
{ %opt=-vw -Sew }
program thelper;
{$mode objfpc}
type
TTest = class;
TTestHelper = class helper for TTest
procedure Test;
end;
TTest = class
Test: LongInt;
end;
procedure TTestHelper.Test;
begin
end;
begin
end.